RFR(S): URG: JDI test com/sun/jdi/ProcessAttachTest.sh and other 3 jdi tests failed in nightly
Dmitry Samersoff
dmitry.samersoff at oracle.com
Thu May 22 12:54:18 UTC 2014
Hi Everybody,
Please review:
http://cr.openjdk.java.net/~dsamersoff/JDK-8043716/webrev.01/
Problem summary:
InetAddress.getLocalHost().getHostName() returns configured host name
ever if "localhost" is known.
If configured hostname resolves to IP address different from
"localhost" one, a test would fail because after JDK-8041435 the server
binds to localhost only if no address specified.
Fix summary:
Calls to InetAddress.getLocalHost().getHostName() replaced to
explicit "localhost" but "*" as a hostname could be used to restore old
behavior.
Also, fixed windows compiler warning and added better
diagnostic to the test.
CR Link:
https://bugs.openjdk.java.net/browse/JDK-8043716
--
Dmitry Samersoff
Oracle Java development team, Saint Petersburg, Russia
* I would love to change the world, but they won't give me the sources.
More information about the serviceability-dev
mailing list