Re: InetAddress.getLocalHost() returns APIPA/link-local address in a Windows 2008 SP2 or later version Windows OS with multiple-NICs.

2011-12-07 Thread Charles Lee
Hi Alan, On 12/07/2011 04:32 PM, Alan Bateman wrote: On 07/12/2011 06:58, Charles Lee wrote: Hi Chris, Sorry I can not give a *detailed* description :-P Have you successfully get an APIPA address? [1] is the link which describe they have get such addresses :-D The behaviour difference was in

Re: EHOSTUNREACH should not be considered as an exception when send on a loopback network interface.

2011-12-07 Thread Charles Lee
On 12/07/2011 09:39 PM, Chris Hegarty wrote: On 07/12/2011 11:12, Alan Bateman wrote: On 07/12/2011 08:11, Charles Lee wrote: : I'd like to raise this issue again. The patch is on the [1]: When a loopback network interface is bound to sendto and connect, in some linuxes it will throw an EIN

hg: jdk8/tl/langtools: 7086015: fix test/tools/javac/parser/netbeans/JavacParserTest.java

2011-12-07 Thread kumar . x . srinivasan
Changeset: abfa0d8ea803 Author:ksrini Date: 2011-12-07 10:47 -0800 URL: http://hg.openjdk.java.net/jdk8/tl/langtools/rev/abfa0d8ea803 7086015: fix test/tools/javac/parser/netbeans/JavacParserTest.java Reviewed-by: ksrini, jjg Contributed-by: matherey.nu...@oracle.com ! test/tools/j

hg: jdk8/tl/jdk: 7117249: fix warnings in java.util.jar, .logging, .prefs, .zip

2011-12-07 Thread stuart . marks
Changeset: 4f0f9f9c4892 Author:smarks Date: 2011-12-07 12:12 -0800 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/4f0f9f9c4892 7117249: fix warnings in java.util.jar, .logging, .prefs, .zip Reviewed-by: alanb, dholmes, forax, sherman, smarks Contributed-by: Prasannaa , Martijn Verb

Re: EHOSTUNREACH should not be considered as an exception when send on a loopback network interface.

2011-12-07 Thread Chris Hegarty
On 07/12/2011 11:12, Alan Bateman wrote: On 07/12/2011 08:11, Charles Lee wrote: : I'd like to raise this issue again. The patch is on the [1]: When a loopback network interface is bound to sendto and connect, in some linuxes it will throw an EINVAL errno, in other linuxes (AIX, iSeries) it

Re: EHOSTUNREACH should not be considered as an exception when send on a loopback network interface.

2011-12-07 Thread Alan Bateman
On 07/12/2011 08:11, Charles Lee wrote: : I'd like to raise this issue again. The patch is on the [1]: When a loopback network interface is bound to sendto and connect, in some linuxes it will throw an EINVAL errno, in other linuxes (AIX, iSeries) it will throw an EHOSTUNREACH errno. The man

Re: InetAddress.getLocalHost() returns APIPA/link-local address in a Windows 2008 SP2 or later version Windows OS with multiple-NICs.

2011-12-07 Thread Alan Bateman
On 07/12/2011 06:58, Charles Lee wrote: Hi Chris, Sorry I can not give a *detailed* description :-P Have you successfully get an APIPA address? [1] is the link which describe they have get such addresses :-D The behaviour difference was introduced by the some latest patches from the Microsoft

Re: EHOSTUNREACH should not be considered as an exception when send on a loopback network interface.

2011-12-07 Thread Charles Lee
On 09/02/2011 12:58 PM, Charles Lee wrote: On 09/02/2011 12:50 PM, Charles Lee wrote: Hi guys, In some linuxes, when you bind on a loopback network interface, sendto will be fail and errono will be set to EHOSTUNREACH. In this situation, EHOSTUNREACH maybe need treat as INVAL: return false, n