You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Stephen Colebourne (JIRA)" <ji...@apache.org> on 2006/09/17 12:45:25 UTC

[jira] Closed: (IO-17) [io] delete in FileUtils sometimes fails on Windows

     [ http://issues.apache.org/jira/browse/IO-17?page=all ]

Stephen Colebourne closed IO-17.
--------------------------------

    Fix Version/s:     (was: 1.3)
       Resolution: Won't Fix

The general agreement here is that this is a bad idea. Also, I can find no Sun bug database report logging this issue (although there are various related misconceptions).

Thus, I'm closing as WontFix. Please reopen if there is a Sun bug database report, or a reproducible test case can be created.

> [io] delete in FileUtils sometimes fails on Windows
> ---------------------------------------------------
>
>                 Key: IO-17
>                 URL: http://issues.apache.org/jira/browse/IO-17
>             Project: Commons IO
>          Issue Type: Bug
>          Components: Utilities
>    Affects Versions: 1.0
>         Environment: Operating System: Windows XP
> Platform: PC
>            Reporter: Wim Deblauwe
>
> 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
> http://cvs.apache.org/viewcvs.cgi/ant/src/main/org/apache/tools/ant/taskdefs/Delete.java?view=markup
> on how they do it.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org