RFR[11u] (XS) : 8215128 : Test library OSInfo.getSolarisVersion cannot determine Solaris version

Igor Ignatyev igor.ignatyev at oracle.com
Wed Dec 12 19:08:40 UTC 2018


http://cr.openjdk.java.net/~iignatyev//8215128/webrev.00/index.html
> 2 lines changed: 1 ins; 0 del; 1 mod;

Hi all,

could you please review this small patch for jdk.testlibrary.OSInfo::getSolarisVersion method? the method assumed that $(uname -v) output on Solaris can be parsed as double, which is not always true. the patch changes this method to remove all characters starting from the second dot if any.

webrev: http://cr.openjdk.java.net/~iignatyev//8215128/webrev.00/index.html
JBS: https://bugs.openjdk.java.net/browse/JDK-8215128

Thanks,
-- Igor


More information about the jdk-updates-dev mailing list