RFR: JDK-8214582: BasicJDWPConnectionTest.java: RuntimeException: Could not detect port from ''

Alex Menkov alexey.menkov at oracle.com
Mon Feb 11 23:20:25 UTC 2019


Hi all,

Please review the fix for
https://bugs.openjdk.java.net/browse/JDK-8214582
webrev:
http://cr.openjdk.java.net/~amenkov/BasicJDWPConnEmptyPort/webrev/

The change fixes race condition when debuggee (LingeredApp) touches lock 
file, but the test haven't handled "Listening for transport ... at 
address ..." output.
Now the test waits up to 10 seconds (adjusted to TIMEOUT_FACTOR) for the 
required output.

--alex


More information about the serviceability-dev mailing list