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
Fri Jul 7 12:20:30 UTC 2017


Hi Misha,

Thanks for the review!

Harold


On 7/6/2017 5:36 PM, Mikhailo Seledtsov wrote:
> Looks good,
>
> Misha
>
> On 7/6/17, 12:46 PM, harold seigel 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