You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Richard Liang (JIRA)" <ji...@apache.org> on 2006/11/18 16:20:41 UTC

[jira] Closed: (HARMONY-2156) [classlib][luni]file.deleteOnExit is not able to delete parent directroy even if the sub directory is marked as deleteonexit also

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

Richard Liang closed HARMONY-2156.
----------------------------------


Verified by Tony.

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