changeset 13217:a8080ceaf725

8144533: VersionCheck.java failing after Verona changes in dev Reviewed-by: darcy, iris
author ksrini
date Wed, 02 Dec 2015 14:31:52 -0800
parents 8508b6f03340
children 3b090beadbcc
files test/tools/launcher/VersionCheck.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/test/tools/launcher/VersionCheck.java	Wed Dec 02 14:18:26 2015 -0800
+++ b/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(")"));