harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard Liang (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HARMONY-2156) [classlib][luni]file.deleteOnExit is not able to delete parent directroy even if the sub directory is marked as deleteonexit also
Date Tue, 14 Nov 2006 08:55:41 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-2156?page=all ]

Richard Liang resolved HARMONY-2156.
------------------------------------

    Resolution: Fixed

Hello Tony,

The patch is applied at revision r474705, thanks a lot for this enhancement, please verify
that the problem is fully fixed as you expected.

Best regards,
Richard

> [classlib][luni]file.deleteOnExit is not able to delete parent directroy even if the
sub directory is marked as deleteonexit also
> ---------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2156
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2156
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Tony Wu
>         Assigned To: Richard Liang
>         Attachments: harmony-2156.diff
>
>
> as title, and there is a test below, you will found the parent directory left when run
on harmony
> import java.io.File;
> import java.io.IOException;
> public class TestDeleteOnExit {
>     public static void main(String[] args) throws IOException {
>         File f = new File(".\\parent\\");
>         f.mkdir();
>         f.deleteOnExit();
>         f = new File(".\\parent\\child\\");
>         f.mkdir();
>         f.deleteOnExit();
>     }
> }

-- 
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

        

Mime
View raw message