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]+]*\-.*"

Gerald Thornbrugh gerald.thornbrugh at oracle.com
Thu Jul 6 21:49:24 UTC 2017


Hi Harold,

You change looks good.

Jerry
> On Jul 6, 2017, at 1:46 PM, harold seigel <harold.seigel at oracle.com> wrote:
> 
> 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