java.net.NetworkInterface.getNetworkInterfaces does not work properly on AIX with IPv6
Steve Poole
spoole at linux.vnet.ibm.com
Wed Oct 19 23:35:04 PDT 2011
On Thu, 2011-10-20 at 13:24 +0800, Jonathan Lu wrote:
> On 10/19/2011 06:03 PM, Steve Poole wrote:
> > 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?
> >
> >
> >
> Hi Steve,
> Thanks for your suggestion.
> I've updated the test case to fit into a jtreg format, see the
> attachment NetworkInterfaceTest.java.
Cool - at a quick glance it looks fine - except your're missing the IBM
attribution comment. I'll send you the details.
>
> - Jonathan
More information about the net-dev
mailing list