java.net.NetworkInterface.getNetworkInterfaces does not work properly on AIX with IPv6

Jonathan Lu luchsh at linux.vnet.ibm.com
Mon Oct 17 00:14:14 PDT 2011


Hi net-devs,

I've got a problem on AIX operating system when IPv6 is enabled,which 
can be easily reproduced by attached test case NetworkInterfaceTest.java.
On AIX paltform, the /proc file system behaves differently from Linux, 
so we cannot just read required lines from /proc/net/if_inet6 but to 
call ioctl to get needed information. A patch is available for OpenJDK8 
code base, see attachment patch.diff.

Is anybody interested in this topic?

I'm quite aware of the fact that so far there's no publicly available 
building scripts for OpenJDK8 on AIX operating system, but before 
everything settles down, is anybody willing to review the patch? any 
ideas about how to integrate it?

Best regards!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: NetworkInterfaceTest.java
Type: text/x-java
Size: 1244 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/net-dev/attachments/20111017/1cab55fa/NetworkInterfaceTest.java 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.diff
Type: text/x-patch
Size: 7633 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/net-dev/attachments/20111017/1cab55fa/patch.diff 


More information about the net-dev mailing list