Re: [RFR] 8219640: UnresolvedAddressException not thrown for incorrect hostname

2019-09-03 Thread Rob McKenna
Thanks for the pointer to the passing host Alan. With that I was able to track down: https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=108bc4049f8ae82710aec26a92ffdb4b439c83fd So it looks like this has recently been fixed in glibc. -Rob On 03/09/19 17:47, Alan Bateman wrote: > On 03/09

Re: [RFR] 8219640: UnresolvedAddressException not thrown for incorrect hostname

2019-09-03 Thread Alan Bateman
On 03/09/2019 17:35, Chris Hegarty wrote: : From the same Linux system: $ ldd --version ldd (Ubuntu GLIBC 2.23-0ubuntu11) 2.23 Copyright (C) 2016 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or

Re: [RFR] 8219640: UnresolvedAddressException not thrown for incorrect hostname

2019-09-03 Thread Chris Hegarty
> On 3 Sep 2019, at 17:29, Chris Hegarty wrote: > ... > Welcome to Ubuntu 16.04.6 LTS (GNU/Linux 4.15.0-54-generic x86_64) > > * Documentation: https://help.ubuntu.com > * Management: https://landscape.canonical.com > * Support:https://ubuntu.com/advantage > ... > $ uname -a > Li

Re: [RFR] 8219640: UnresolvedAddressException not thrown for incorrect hostname

2019-09-03 Thread Chris Hegarty
On 3 Sep 2019, at 16:49, Alan Bateman wrote: > > On 03/09/2019 15:59, Rob McKenna wrote: >> Hi folks, >> >> Assuming the premise of this bug is correct, could I get a review for >> the following: >> >> https://bugs.openjdk.java.net/browse/JDK-8219640 >> http://cr.openjdk.java.net/~robm/8219640/

Re: [RFR] 8219640: UnresolvedAddressException not thrown for incorrect hostname

2019-09-03 Thread Alan Bateman
On 03/09/2019 15:59, Rob McKenna wrote: Hi folks, Assuming the premise of this bug is correct, could I get a review for the following: https://bugs.openjdk.java.net/browse/JDK-8219640 http://cr.openjdk.java.net/~robm/8219640/webrev.01/ Windows rejects a lookup for "127.0.0.1 test" where getadd

[RFR] 8219640: UnresolvedAddressException not thrown for incorrect hostname

2019-09-03 Thread Rob McKenna
Hi folks, Assuming the premise of this bug is correct, could I get a review for the following: https://bugs.openjdk.java.net/browse/JDK-8219640 http://cr.openjdk.java.net/~robm/8219640/webrev.01/ Windows rejects a lookup for "127.0.0.1 test" where getaddrinfo on non-Windows platforms resolves to