[RFR] 8219640: UnresolvedAddressException not thrown for incorrect hostname
Rob McKenna
rob.mckenna at oracle.com
Tue Sep 3 14:59:09 UTC 2019
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".
-Rob
More information about the net-dev
mailing list