Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 68601 invoked from network); 14 Mar 2007 04:59:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Mar 2007 04:59:30 -0000 Received: (qmail 46656 invoked by uid 500); 14 Mar 2007 04:59:38 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 46639 invoked by uid 500); 14 Mar 2007 04:59:38 -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 46630 invoked by uid 99); 14 Mar 2007 04:59:38 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Mar 2007 21:59:38 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= 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, 13 Mar 2007 21:59:29 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 7A126714075 for ; Tue, 13 Mar 2007 21:59:09 -0700 (PDT) Message-ID: <20522424.1173848349497.JavaMail.jira@brutus> Date: Tue, 13 Mar 2007 21:59:09 -0700 (PDT) From: "Richard Liang (JIRA)" To: commits@harmony.apache.org Subject: [jira] Resolved: (HARMONY-3333) [classlib][luni]java.net.SocketPermission considers port even if the action is only 'resolve' In-Reply-To: <17576367.1173325884581.JavaMail.root@brutus> 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-3333?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Richard Liang resolved HARMONY-3333. ------------------------------------ Resolution: Fixed Hello Ruth, I have removed the unnecessary check about the unresolved IP at revision 518014. Best regards, Richard. > [classlib][luni]java.net.SocketPermission considers port even if the action is only 'resolve' > --------------------------------------------------------------------------------------------- > > Key: HARMONY-3333 > URL: https://issues.apache.org/jira/browse/HARMONY-3333 > Project: Harmony > Issue Type: Bug > Components: Classlib > Reporter: Ruth Cao > Assigned To: Richard Liang > Attachments: Harmony-3333-2.diff, Harmony-3333.diff > > > The following test case[1] fails on Harmony while passes on RI. It is due to SocketPermission considers port even if the action is only 'resolve' in Harmony. I'll upload a patch soon. Thanks. > [1] public void test_equalsLjava_lang_Object() { > SocketPermission sp1 = new SocketPermission("TEST1.com:333", "resolve"); > SocketPermission sp2 = new SocketPermission("test1.com:444", "resolve"); > assertTrue("Different cases should be equal", sp1.equals(sp2)); > } -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.