harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard Liang (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HARMONY-3333) [classlib][luni]java.net.SocketPermission considers port even if the action is only 'resolve'
Date Wed, 14 Mar 2007 04:59:09 GMT

     [ 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.


Mime
View raw message