Code review: 7079012 test/java/net/NetworkInterface/NetParamsTest.java fails with SocketException getting mac address
Alan Bateman
Alan.Bateman at oracle.com
Wed Sep 21 03:33:37 PDT 2011
Michael McMahon wrote:
> Could I get the following webrev reviewed please?
>
> http://cr.openjdk.java.net/~michaelm/7079012/webrev.1/
>
> We're getting an unexpected error in native code on Solaris when calling
> the ioctl() that returns hardware MAC addresses for certain kinds of
> NetworkInterface.
> So, the fix is not to throw an exception, but to return a null byte[]
> instead.
>
> The fix also adds support for the new Solaris 11 SIOCGLIFHWADDR ioctl()
>
> Thanks,
> Michael.
This looks fine to me.
-Alan
More information about the net-dev
mailing list