Code Review 6954525: java/net/BindException/Test.java 6 tests(s) failed - see log

Chris Hegarty chris.hegarty at oracle.com
Mon Jun 28 08:08:47 PDT 2010


Michael,

java/net/BindException/Test.java and java/net/ipv6tests/Tests.java have 
code that iterator over the network interfaces looking for IPv4 
addresses to test with. In some cases, it is possible to have an 
interface that is up with an IPv4 address of 0.0.0.0. This is not 
suitable for use with these test as the implementation uses it as the 
wildcard address and the tests fail with an unexpected failure.

The solution is to simply not use isAnyLocalAddress.

Webrev:
   http://cr.openjdk.java.net/~chegar/6961029/webrev.00/webrev/

-Chris.



More information about the net-dev mailing list