hg: jdk10/hs/hotspot: 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 at oracle.com harold.seigel at oracle.com
Fri Jul 7 16:44:23 UTC 2017


Changeset: c25b35fcc1a4
Author:    hseigel
Date:      2017-07-07 11:26 -0400
URL:       http://hg.openjdk.java.net/jdk10/hs/hotspot/rev/c25b35fcc1a4

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]+]*\-.*"
Summary: Use Runtime Version API's instead of a regular expression and split() API.
Reviewed-by: psandoz, mseledtsov, gthornbr

! test/runtime/6981737/Test6981737.java



More information about the jdk10-all-changes mailing list