Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 25264 invoked from network); 16 Jul 2010 07:46:46 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 16 Jul 2010 07:46:46 -0000 Received: (qmail 11022 invoked by uid 500); 16 Jul 2010 07:46:46 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 10928 invoked by uid 500); 16 Jul 2010 07:46:45 -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 10921 invoked by uid 99); 16 Jul 2010 07:46:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Jul 2010 07:46:44 +0000 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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Jul 2010 07:46:42 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o6G7coAs029831 for ; Fri, 16 Jul 2010 07:38:50 GMT Message-ID: <18495883.411591279265930247.JavaMail.jira@thor> Date: Fri, 16 Jul 2010 03:38:50 -0400 (EDT) From: "Hudson (JIRA)" To: commits@harmony.apache.org Subject: [jira] Commented: (HARMONY-6573) [classlib][luni] Can't load classes with file://// and URL class In-Reply-To: <2028430.257421278579174571.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HARMONY-6573?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12889040#action_12889040 ] Hudson commented on HARMONY-6573: --------------------------------- Integrated in Harmony-1.5-head-linux-x86_64 #895 (See [http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/895/]) Apply patch for HARMONY-6573: [classlib][luni] Can't load classes with file://// and URL class > [classlib][luni] Can't load classes with file://// and URL class > ---------------------------------------------------------------- > > Key: HARMONY-6573 > URL: https://issues.apache.org/jira/browse/HARMONY-6573 > Project: Harmony > Issue Type: Bug > Components: Classlib > Affects Versions: 5.0M14 > Reporter: Xiao Shu > Assignee: Regis Xu > Priority: Minor > Fix For: 5.0M15 > > Attachments: Harmony-6573.diff > > > Run below test case, > import java.net.MalformedURLException; > import java.net.URL; > public class Test { > public static void main(String args[]) throws MalformedURLException { > URL url1 = new URL("file:////home/test.jar"); > System.out.println("getAuthority:" + url1.getAuthority()); > System.out.println("getFile:" + url1.getFile()); > } > } > The output of harmony is: > getAuthority: > getFile://home/test.jar > while the output of Sun RI is: > getAuthority:null > getFile:////home/test.jar -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.