Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 39449 invoked from network); 21 Jun 2007 03:34:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Jun 2007 03:34:47 -0000 Received: (qmail 9031 invoked by uid 500); 21 Jun 2007 03:34:51 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 8938 invoked by uid 500); 21 Jun 2007 03:34:50 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 8929 invoked by uid 99); 21 Jun 2007 03:34:50 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Jun 2007 20:34:50 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED 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; Wed, 20 Jun 2007 20:34:46 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 79EBA7141E2 for ; Wed, 20 Jun 2007 20:34:26 -0700 (PDT) Message-ID: <23769338.1182396866497.JavaMail.jira@brutus> Date: Wed, 20 Jun 2007 20:34:26 -0700 (PDT) From: "Paulex Yang (JIRA)" To: commits@harmony.apache.org Subject: [jira] Resolved: (HARMONY-3656) [classlib][luni] File.mkdir does not support unicode In-Reply-To: <4416177.1176701475521.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 [ https://issues.apache.org/jira/browse/HARMONY-3656?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Paulex Yang resolved HARMONY-3656. ---------------------------------- Resolution: Fixed Sorry for the delay, patch applied at r549346 with a little modifications to make the FileTest for windows compile. Kelvin, thanks a lot, please verify. > [classlib][luni] File.mkdir does not support unicode > ---------------------------------------------------- > > Key: HARMONY-3656 > URL: https://issues.apache.org/jira/browse/HARMONY-3656 > Project: Harmony > Issue Type: Bug > Components: Classlib > Environment: Windows XP > Reporter: Kelvin Ye > Assignee: Paulex Yang > Attachments: harmony-3656.zip > > > The following code can successfully create the dir on RI, but fail on Harmony. > Code: > public class test1 { > public static void main(String[] args) { > String base = System.getProperty("user.dir"); > String ss = "dir\u3400"; > try { > File dir = new File(base, ss); > dir.deleteOnExit(); > if (dir.mkdir() && dir.exists() > && dir.getCanonicalPath().equals(base + File.separator + ss)) { > System.out.println("Create Successfully."); > } > else { > System.out.println("Create Failed."); > } > } catch (IOException e) { > } > } > } -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.