8144533: VersionCheck.java failing after Verona changes in dev
authorksrini
Wed, 02 Dec 2015 14:31:52 -0800
changeset 34392 ae4033cd28f4
parent 34391 1467e5273cce
child 34424 c11c0bca512d
8144533: VersionCheck.java failing after Verona changes in dev Reviewed-by: darcy, iris
jdk/test/tools/launcher/VersionCheck.java
--- a/jdk/test/tools/launcher/VersionCheck.java	Wed Dec 02 14:18:26 2015 -0800
+++ b/jdk/test/tools/launcher/VersionCheck.java	Wed Dec 02 14:31:52 2015 -0800
@@ -187,7 +187,7 @@
 
     static boolean compareInternalStrings() {
         int failcount = 0;
-        String bStr = refVersion.substring(refVersion.lastIndexOf("build") +
+        String bStr = refVersion.substring(refVersion.indexOf("build") +
                                            "build".length() + 1,
                                            refVersion.lastIndexOf(")"));