[RFR] 8219640: UnresolvedAddressException not thrown for incorrect hostname

Alan Bateman Alan.Bateman at oracle.com
Tue Sep 3 15:49:09 UTC 2019


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 getaddrinfo on
> non-Windows platforms resolves to 127.0.0.1. Note: this only happens
> when the set of characters before the space corresponds to an IP
> address. Both sets of platforms will reject "somehost name".
Can you say more about which operating systems / versions where this occurs?

-Alan


More information about the net-dev mailing list