Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 29547 invoked from network); 12 Jun 2007 13:28:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Jun 2007 13:28:07 -0000 Received: (qmail 26308 invoked by uid 500); 12 Jun 2007 13:28:10 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 26291 invoked by uid 500); 12 Jun 2007 13:28:10 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 26282 invoked by uid 99); 12 Jun 2007 13:28:10 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jun 2007 06:28:10 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jun 2007 06:28:05 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 931724297CD for ; Tue, 12 Jun 2007 06:27:43 -0700 (PDT) Message-ID: <3723204.1181654863597.JavaMail.jira@brutus> Date: Tue, 12 Jun 2007 06:27:43 -0700 (PDT) From: "Oliver Deakin (JIRA)" To: commits@harmony.apache.org Subject: [jira] Commented: (HARMONY-2136) [classlib][luni] URL.equals() does not resolve an empty hostname and "localhost" as the same MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ 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.