common/conf/jib-profiles.js
changeset 44894 e1b5a6c45d39
parent 44734 70bbd6884287
parent 44697 ae11efc5ed76
child 45048 665cd82e98dc
--- a/common/conf/jib-profiles.js	Thu May 04 16:38:07 2017 +0000
+++ b/common/conf/jib-profiles.js	Fri May 05 04:45:50 2017 +0000
@@ -621,7 +621,7 @@
     var testOnlyProfilesPrebuilt = {
         "run-test-prebuilt": {
             src: "src.conf",
-            dependencies: [ "jtreg", "gnumake", testedProfile + ".jdk",
+            dependencies: [ "jtreg", "gnumake", "boot_jdk", testedProfile + ".jdk",
                 testedProfile + ".test", "src.full"
             ],
             work_dir: input.get("src.full", "install_path") + "/test",
@@ -1148,7 +1148,7 @@
         + "." + (minor != null ? minor : version_numbers.get("DEFAULT_VERSION_MINOR"))
         + "." + (security != null ? security :  version_numbers.get("DEFAULT_VERSION_SECURITY"))
         + "." + (patch != null ? patch : version_numbers.get("DEFAULT_VERSION_PATCH"));
-    while (version.match(".*\.0$")) {
+    while (version.match(".*\\.0$")) {
         version = version.substring(0, version.length - 2);
     }
     return version;