harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-6573) [classlib][luni] Can't load classes with file://// and URL class
Date Fri, 16 Jul 2010 07:38:50 GMT

    [ 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.


Mime
View raw message