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