harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard Liang (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (HARMONY-2136) [classlib][luni] URL.equals() does not resolve an empty hostname and "localhost" as the same
Date Thu, 14 Dec 2006 03:15:23 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-2136?page=all ]

Richard Liang reassigned HARMONY-2136:
--------------------------------------

    Assignee: Richard Liang

> [classlib][luni] URL.equals() does not resolve an empty hostname and "localhost" as the
same
> --------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2136
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2136
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Oliver Deakin
>         Assigned To: Richard Liang
>            Priority: Minor
>         Attachments: patch-2316.diff
>
>
> Running the following:
> 	URL urla = new URL("file:///anyfile");
> 	URL urlb = new URL("file://localhost/anyfile");
> 	if (urla.equals(urlb)) {
> 		System.out.println("PASS");
> 	} else {
> 		System.out.println("FAIL");
> 	}
> on the RI produces: PASS
> but on Harmony (+IBM VME) produces: FAIL

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

        

Mime
View raw message