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] Assigned: (HARMONY-2290) [classlib][luni]InetAddress.isReachable(NetworkInterface,int,int) throws NullPointerExeption when the networkInterface is not bind to a network address
Date Thu, 30 Nov 2006 07:05:22 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-2290?page=all ]

Richard Liang reassigned HARMONY-2290:
--------------------------------------

    Assignee: Richard Liang

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

        

Mime
View raw message