harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Regis Xu (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-5984) [classlib][luni] - Should use addresses.hasMoreElements() to test whether the returned addresses are empty in MulticastSocketTest and NetworkInterfaceTest
Date Wed, 17 Sep 2008 08:17:44 GMT
[classlib][luni] - Should use addresses.hasMoreElements() to test whether the returned addresses
are empty in MulticastSocketTest and NetworkInterfaceTest
----------------------------------------------------------------------------------------------------------------------------------------------------------

                 Key: HARMONY-5984
                 URL: https://issues.apache.org/jira/browse/HARMONY-5984
             Project: Harmony
          Issue Type: Test
          Components: Classlib
    Affects Versions: 5.0M7
            Reporter: Regis Xu
             Fix For: 5.0M8


NetworkInterface.getInetAddresses would never return null. When there is no address empty
Enumeration returned.
So addresses.hasMoreElements() should be used to test whether the returned addresses are empty

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