RFR 8183400: runtime/6981737/Test6981737.java fails with java.lang.RuntimeException: FAIL: Wrong value for java.version property, "9", expected to be of form: "[0-9]+[\\.[0-9]+]*\-.*"

harold seigel harold.seigel at oracle.com
Thu Jul 6 19:46:48 UTC 2017


Hi,

Please review this JDK-10 test bug fix.  The fix changes the test to 
call Runtime.Version.parse() to parse the "java.version" property value 
instead of using its own regular expression.

Open Webrev: http://cr.openjdk.java.net/~hseigel/bug_8183400/webrev/

JBS Bug: https://bugs.openjdk.java.net/browse/JDK-8183400

The fixed test was tested on Linux using "java.version" property values 
of "9", "9-ea", and "10-internal".

Thanks, Harold



More information about the hotspot-runtime-dev mailing list