You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Richard Liang (JIRA)" <ji...@apache.org> on 2006/12/14 04:15:23 UTC
[jira] Assigned: (HARMONY-2136) [classlib][luni] URL.equals() does
not resolve an empty hostname and "localhost" as the same
[ 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