8189679: JDK-8189094 broke testing in Mach 5 jdk-10+28
authorerikj
Thu, 19 Oct 2017 17:47:04 +0200
changeset 47365 92f08900cb3c
parent 47364 6b3389375f31
child 47366 cefe2083f3d1
child 47393 82b49fe76dec
child 47430 42fe1ee28f27
8189679: JDK-8189094 broke testing in Mach 5 Reviewed-by: tbell, mchung
make/conf/jib-profiles.js
--- a/make/conf/jib-profiles.js	Thu Oct 19 14:16:45 2017 +0200
+++ b/make/conf/jib-profiles.js	Thu Oct 19 17:47:04 2017 +0200
@@ -381,6 +381,11 @@
         };
     };
 
+    common.boot_jdk_version = "9";
+    common.boot_jdk_home = input.get("boot_jdk", "home_path") + "/jdk-"
+        + common.boot_jdk_version
+        + (input.build_os == "macosx" ? ".jdk/Contents/Home" : "");
+
     return common;
 };
 
@@ -1008,10 +1013,6 @@
         ? input.target_os + "_x64"
         : input.target_platform);
 
-    var boot_jdk_version = "9";
-    var boot_jdk_home = input.get("boot_jdk", "home_path") + "/jdk-"
-        + boot_jdk_version
-        + (input.build_os == "macosx" ? ".jdk/Contents/Home" : "");
     var boot_jdk_platform = (input.build_os == "macosx" ? "osx" : input.build_os)
         + "-" + input.build_cpu;
 
@@ -1020,12 +1021,12 @@
         boot_jdk: {
             server: "jpg",
             product: "jdk",
-            version: boot_jdk_version,
+            version: common.boot_jdk_version,
             build_number: "181",
-            file: "bundles/" + boot_jdk_platform + "/jdk-" + boot_jdk_version + "_"
+            file: "bundles/" + boot_jdk_platform + "/jdk-" + common.boot_jdk_version + "_"
                 + boot_jdk_platform + "_bin.tar.gz",
-            configure_args: "--with-boot-jdk=" + boot_jdk_home,
-            environment_path: boot_jdk_home + "/bin"
+            configure_args: "--with-boot-jdk=" + common.boot_jdk_home,
+            environment_path: common.boot_jdk_home + "/bin"
         },
 
         devkit: {