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] Closed: (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 09:17:44 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-5984?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Regis Xu closed HARMONY-5984.
-----------------------------


Verified. Thanks Tim.

> [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
>            Assignee: Tim Ellison
>             Fix For: 5.0M8
>
>         Attachments: HARMONY-5984.diff
>
>
> 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