commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joerg Schaible (JIRA)" <>
Subject [jira] Commented: (IO-17) [io] delete in FileUtils sometimes fails on Windows
Date Thu, 13 Jul 2006 04:29:31 GMT
    [ ] 

Joerg Schaible commented on IO-17:

Same from me: Using System.gc() in a library method is a no-no! If you cannot delete the file,
it simply means, someone did not close it. So that code should be fixed!

> [io] delete in FileUtils sometimes fails on Windows
> ---------------------------------------------------
>          Key: IO-17
>          URL:
>      Project: Commons IO
>         Type: Bug

>     Versions: 1.0
>  Environment: Operating System: Windows XP
> Platform: PC
>     Reporter: Wim Deblauwe
>      Fix For: 1.3

> The delete function in the FileUtils class will sometimes not delete a file or
> directory on windows. This is a known bug in the VM. Ant solves this by calling
> the GC explecitly and then wait some time. See
> on how they do it.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message