RFR: JDK-8181383: com/sun/jdi/OptionTest.java fails intermittently with bind failed: Address already in use
Alex Menkov
alexey.menkov at oracle.com
Sat Feb 23 00:31:21 UTC 2019
Hi all,
Please review a fix for
https://bugs.openjdk.java.net/browse/JDK-8181383
webrev:
http://cr.openjdk.java.net/~amenkov/OptionTest_socket/webrev/
The change fixes OptionTest and RunToExit tests to avoid "address
already in use" failures by using dynamic port allocation (address=0).
OptionTest runs debuggee with "suspend=n" and waits it to exit (it does
not connect to the debugee VM).
RunToExit connects to the debuggee VM, so logic to detect listening port
is added.
--alex
More information about the serviceability-dev
mailing list