You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Richard Liang (JIRA)" <ji...@apache.org> on 2006/12/01 08:57:25 UTC
[jira] Closed: (HARMONY-2290)
[classlib][luni]InetAddress.isReachable(NetworkInterface,int,int) throws
NullPointerExeption when the networkInterface is not bind to a network
address
[ http://issues.apache.org/jira/browse/HARMONY-2290?page=all ]
Richard Liang closed HARMONY-2290.
----------------------------------
Verified by Leo
> [classlib][luni]InetAddress.isReachable(NetworkInterface,int,int) throws NullPointerExeption when the networkInterface is not bind to a network address
> -------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: HARMONY-2290
> URL: http://issues.apache.org/jira/browse/HARMONY-2290
> Project: Harmony
> Issue Type: Bug
> Reporter: Leo Li
> Assigned To: Richard Liang
> Attachments: patch-2290.diff
>
>
> First, we make the interface not bind to a network address in OS. Then
> InetAddress destAddress = InetAddress.getByName("www.google.com");
> assertFalse(destAddress.isReachable(loopbackInterface, 10, 1000));
> RI passes and Harmony throws NullPointerException.
> Furthermore, if the interface is a loopback interface, RI cannot reach the host outside but only local address while Harmony can.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira