8188789: Update JDK 9.0.1 and Future OpenJDK bundle names
authorerikj
Thu, 07 Dec 2017 22:37:45 +0100
changeset 48212 6a8ab8d1fb8b
parent 48211 c75b179b6add
child 48213 59696a3595bd
8188789: Update JDK 9.0.1 and Future OpenJDK bundle names Reviewed-by: tbell
make/conf/jib-profiles.js
--- a/make/conf/jib-profiles.js	Thu Dec 07 21:06:02 2017 +0000
+++ b/make/conf/jib-profiles.js	Thu Dec 07 22:37:45 2017 +0100
@@ -662,6 +662,16 @@
         }
     });
 
+    // For open profiles, the non-debug jdk bundles, need an "open" prefix on the
+    // remote bundle names, forming the word "openjdk". See JDK-8188789.
+    common.main_profile_names.forEach(function (name) {
+        var openName = name + common.open_suffix;
+        profiles[openName].artifacts["jdk"].remote = replaceAll(
+            "\/jdk-", "/openjdk-",
+            replaceAll("\/\\1", "/open\\1",
+                       profiles[openName].artifacts["jdk"].remote));
+    });
+
     // Profiles used to run tests. Used in JPRT and Mach 5.
     var testOnlyProfiles = {
         "run-test-jprt": {