harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oliver Deakin (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-2136) [classlib][luni] URL.equals() does not resolve an empty hostname and "localhost" as the same
Date Tue, 12 Jun 2007 13:27:43 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-2136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12503857
] 

Oliver Deakin commented on HARMONY-2136:
----------------------------------------

Hi Richard - long overdue, Im verifying that this issue has been fixed as expected!

> [classlib][luni] URL.equals() does not resolve an empty hostname and "localhost" as the
same
> --------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2136
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2136
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Oliver Deakin
>            Assignee: 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.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message