harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leo Li (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-2290) [classlib][luni]InetAddress.isReachable(NetworkInterface,int,int) throws NullPointerExeption when the networkInterface is not bind to a network address
Date Fri, 24 Nov 2006 05:06:02 GMT
[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


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