[verona.stage] RFR 8134365: Test test/sun/misc/Version/Version.java should follow Verona rules for trailing zeros

Alejandro E Murillo alejandro.murillo at oracle.com
Wed Sep 16 18:23:53 UTC 2015


Please review this change:

Bug: https://bugs.openjdk.java.net/browse/JDK-8134365
Webrev: http://cr.openjdk.java.net/~amurillo/9/8134365/

This change modifies the toString() method of: 
test/sun/misc/Version/Version.java
so that it doesn't  include trailing zeros when  the some version fields
are not defined. For  example, if  the version is  9-ea+b2,
"toString()" should not return 9.0.0.0-ea+b2

note that this class will eventually be modified to use the Java API to 
parse,
validate, and compare version strings once it is available.
That's being tracked under: https://bugs.openjdk.java.net/browse/JDK-8136651

Thanks

-- 
Alejandro




More information about the core-libs-dev mailing list