Return-Path: Delivered-To: apmail-incubator-harmony-commits-archive@www.apache.org Received: (qmail 61454 invoked from network); 13 Nov 2006 07:30:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Nov 2006 07:30:59 -0000 Received: (qmail 25561 invoked by uid 500); 13 Nov 2006 07:31:10 -0000 Delivered-To: apmail-incubator-harmony-commits-archive@incubator.apache.org Received: (qmail 25538 invoked by uid 500); 13 Nov 2006 07:31:10 -0000 Mailing-List: contact harmony-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: harmony-dev@incubator.apache.org Delivered-To: mailing list harmony-commits@incubator.apache.org Received: (qmail 25527 invoked by uid 99); 13 Nov 2006 07:31:09 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Nov 2006 23:31:09 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Nov 2006 23:30:58 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 3E3E57142C3 for ; Sun, 12 Nov 2006 23:30:38 -0800 (PST) Message-ID: <26765929.1163403038252.JavaMail.jira@brutus> Date: Sun, 12 Nov 2006 23:30:38 -0800 (PST) From: "Tony Wu (JIRA)" To: harmony-commits@incubator.apache.org Subject: [jira] Updated: (HARMONY-2156) [classlib][luni]file.deleteOnExit is not able to delete parent directroy even if the sub directory is marked as deleteonexit also In-Reply-To: <25114642.1163382577079.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ http://issues.apache.org/jira/browse/HARMONY-2156?page=all ] Tony Wu updated HARMONY-2156: ----------------------------- Summary: [classlib][luni]file.deleteOnExit is not able to delete parent directroy even if the sub directory is marked as deleteonexit also (was: [classlib][luni]file.deleteOnExit can not delete parent directroy even if the sub directory is marked as deleteonexit also) > [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 > 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