changeset 48212:6a8ab8d1fb8b

8188789: Update JDK 9.0.1 and Future OpenJDK bundle names Reviewed-by: tbell
author erikj
date Thu, 07 Dec 2017 22:37:45 +0100
parents c75b179b6add
children 59696a3595bd
files make/conf/jib-profiles.js
diffstat 1 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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": {