RFR(XS): 8078435 - [TESTBUG] runtime/CommandLine/TestVMOptions.java fails when running with an OpenJDK build

Christian Tornqvist christian.tornqvist at oracle.com
Wed Apr 22 18:50:23 UTC 2015


Hi everyone,

 

Please review this small fix for an issue when running the
runtime/CommandLine/TestVMOptions.java test with an OpenJDK build. 

 

The version string for the OpenJDK build looks like this:

openjdk version "1.9.0-internal"

 

while the Oracle JDK looks like this:

java version "1.9.0-ea-fastdebug"

 

Changed the parsing to use a regex that matches both "openjdk version" and
"java version"

 

Webrev:

http://cr.openjdk.java.net/~ctornqvi/webrev/8078435/webrev.00/

 

Bug:

https://bugs.openjdk.java.net/browse/JDK-8078435

 

Thanks,

Christian

 



More information about the hotspot-runtime-dev mailing list