RFR [9] 8058216: NetworkInterface.getHardwareAddress can return zero length byte array when run with preferIPv4Stack

Chris Hegarty chris.hegarty at oracle.com
Fri Sep 12 14:01:20 UTC 2014


On 12/09/14 12:47, Bernd Eckenfels wrote:
> Hello,
>
> A short question out of couriosity, why is the code for the v6 and v4 case different, anyway?

This is legacy code using Windows APIs that predate IPv6 support in the 
platform.  There is a huge opportunity for cleanup and modernization 
here. Hopefully some of this can happen in the JDK 9 time frame, but for 
now I just want to put in a targeted fix for this specific issue, which 
is causing JCK failures on JDK 8u.

-Chris.


More information about the net-dev mailing list