Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 6734 invoked from network); 28 Aug 2008 04:23:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Aug 2008 04:23:06 -0000 Received: (qmail 99582 invoked by uid 500); 28 Aug 2008 04:23:04 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 99562 invoked by uid 500); 28 Aug 2008 04:23:04 -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 99553 invoked by uid 99); 28 Aug 2008 04:23:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Aug 2008 21:23:04 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Aug 2008 04:22:15 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 0F79A234C1B1 for ; Wed, 27 Aug 2008 21:22:46 -0700 (PDT) Message-ID: <1862570203.1219897366062.JavaMail.jira@brutus> Date: Wed, 27 Aug 2008 21:22:46 -0700 (PDT) From: "Regis Xu (JIRA)" To: commits@harmony.apache.org Subject: [jira] Created: (HARMONY-5961) [classlib][luni]File.toURI() returns incorrect UNC uri MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [classlib][luni]File.toURI() returns incorrect UNC uri ------------------------------------------------------ Key: HARMONY-5961 URL: https://issues.apache.org/jira/browse/HARMONY-5961 Project: Harmony Issue Type: Bug Components: Classlib Affects Versions: 5.0M7 Reporter: Regis Xu Fix For: 5.0M8 below test case can pass on RI but failed on Harmony public void test_toURI_UNC() throws Exception { File f = new File("\\\\unchost\\[dir]\\file.txt"); assertNotNull(f.toURI()); assertTrue("incorrect URI for UNC path: " + f.toURI(), f.toURI().equals(new URI("file:////unchost/%5Bdir%5D/file.txt"))); } -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.