CR 6800805 - code review
Christopher Hegarty - Sun Microsystems Ireland
Christopher.Hegarty at Sun.COM
Fri Feb 13 08:19:46 PST 2009
I need to get a code review for
6800805: java.net.NetworkInterface.getNetworkInterfaces() does not
list IPv6 network interfaces correctly.
http://cr.openjdk.java.net/~chegar/6800805/webrev.00/
There is a change in behaviour between JDK5 and JDK6 in how virtual
interfaces addresses are reported. This is as a result of the change for
CR 6386190. This change uses an ioctl to determine if the parent
interface is accessible from the current context. The problem is that on
Solaris if the interface being queried has only IPv6 addresses assigned
to it then the ioctl needs to be called with an IPv6 socket. This is
currently not the case.
To fix this bug we need to try with an IPv6 socket before determining
that the parent is not accessible, similar to what we done for CR 6628569.
Thanks,
-Chris.
More information about the net-dev
mailing list