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

Steve Poole spoole at linux.vnet.ibm.com
Wed Oct 19 03:03:02 PDT 2011


On Mon, 2011-10-17 at 15:14 +0800, Jonathan Lu wrote:
> 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!
> 

Hi Jonathan -  can you add a copyright header to the testcase and see if
you can make the testcase fit into a jtreg test format?






More information about the net-dev mailing list