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

2011-10-21 Thread Jonathan Lu
On 10/20/2011 09:16 PM, Neil Richards wrote: On Thu, 2011-10-20 at 17:12 +0800, Jonathan Lu wrote: On 10/20/2011 02:35 PM, Steve Poole wrote: Thanks Steve, I've updated the test case and patch, see the attachments. I've added IBM portions copyright comment to both headers. - Jonathan For ease

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

2011-10-20 Thread Neil Richards
On Thu, 2011-10-20 at 17:12 +0800, Jonathan Lu wrote: > On 10/20/2011 02:35 PM, Steve Poole wrote: > Thanks Steve, I've updated the test case and patch, see the attachments. > I've added IBM portions copyright comment to both headers. > > - Jonathan For ease of review, I've uploaded the suggested

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

2011-10-20 Thread Jonathan Lu
nterface.getNetworkInterfaces() does not work properly on AIX with IPv6 */ public class NetworkInterfaceTest { java.net.NetworkInterface pnics; java.util.Enumeration nics1; NetworkInterfaceTest() throws Exception{ java.net.NetworkInterface jnic; java.util.Enumeratio

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

2011-10-19 Thread Jonathan Lu
test NetworkInterfaceTest * @summary java.net.NetworkInterface.getNetworkInterfaces() does not work properly on AIX with IPv6 */ public class NetworkInterfaceTest { java.net.NetworkInterface pnics; java.util.Enumeration nics1; NetworkInterfaceTest() throws Exception{ java.

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

2011-10-19 Thread Steve Poole
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 te

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

2011-10-19 Thread Jonathan Lu
tworkInterfaceTest * @summary java.net.NetworkInterface.getNetworkInterfaces() does not work properly on AIX with IPv6 */ public class NetworkInterfaceTest { java.net.NetworkInterface pnics; java.util.Enumeration nics1; NetworkInterfaceTest() throws Exception{

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

2011-10-19 Thread Alan Bateman
Steve Poole wrote: : Hi - another thought. If this patch is about dealing with the fact that there is no /proc/net on AIX isn't that true for Solaris as well? (my Solaris box doesn't have a /proc/net folder either) I wonder if we have patch here that should either be made to work for Solaris

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

2011-10-19 Thread Steve Poole
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

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

2011-10-19 Thread Steve Poole
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

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

2011-10-17 Thread Alan Bateman
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 /pro

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

2011-10-17 Thread Jonathan Lu
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 t