Return-Path: Delivered-To: apmail-incubator-harmony-commits-archive@www.apache.org Received: (qmail 88302 invoked from network); 14 Nov 2006 08:54:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Nov 2006 08:54:03 -0000 Received: (qmail 16350 invoked by uid 500); 14 Nov 2006 08:54:11 -0000 Delivered-To: apmail-incubator-harmony-commits-archive@incubator.apache.org Received: (qmail 16308 invoked by uid 500); 14 Nov 2006 08:54:11 -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 16279 invoked by uid 99); 14 Nov 2006 08:54:11 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Nov 2006 00:54:11 -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; Tue, 14 Nov 2006 00:53:59 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 100FE7142C1 for ; Tue, 14 Nov 2006 00:53:39 -0800 (PST) Message-ID: <25234971.1163494419063.JavaMail.jira@brutus> Date: Tue, 14 Nov 2006 00:53:39 -0800 (PST) From: "Richard Liang (JIRA)" To: harmony-commits@incubator.apache.org Subject: [jira] Assigned: (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 ] Richard Liang reassigned HARMONY-2156: -------------------------------------- Assignee: Richard Liang > [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