[8u] RFR: 8216058: [TESTBUG] tools/launcher/VersionCheck.java fails after JDK-8215992

Severin Gehwolf sgehwolf at redhat.com
Thu Jan 3 11:24:00 UTC 2019


Could I please get a review for this 8u-only fix? Latest jdk8u-dev
forest contains new launchers for SA tools, clhsdb and hsdb. The latter
is a GUI app and when launched will block until the user closes the
GUI. This results in a timout in tools/launcher/VersionCheck.java which
launches all tools in JAVA_HOME/bin. In particular, hsdb -version would
block in the described way and causes the timeout.

The fix is to blacklist both new tools for the '-version' option. They
only support '-J-version'.

Bug: https://bugs.openjdk.java.net/browse/JDK-8216058
webrev: http://cr.openjdk.java.net/~sgehwolf/webrevs/JDK-8216058/webrev.01/

Testing: Failing VersionCheck.java prior the patch, passing after.



More information about the serviceability-dev mailing list