diff --git a/make/Bundles.gmk b/make/Bundles.gmk index 9dc5f9602d5..e6955bfab41 100644 --- a/make/Bundles.gmk +++ b/make/Bundles.gmk @@ -1,5 +1,5 @@ # -# Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it @@ -449,7 +449,7 @@ ifneq ($(filter jcov-bundles, $(MAKECMDGOALS)), ) BUNDLE_NAME := $(JCOV_BUNDLE_NAME), \ FILES := $(JCOV_BUNDLE_FILES), \ BASE_DIRS := $(JCOV_IMAGE_DIR), \ - SUBDIR := $(JDK_BUNDLE_SUBDIR), \ + SUBDIR := jdk-$(VERSION_NUMBER), \ )) JCOV_TARGETS += $(BUILD_JCOV_BUNDLE) diff --git a/make/conf/jib-profiles.js b/make/conf/jib-profiles.js index 8a733103844..1b866e21207 100644 --- a/make/conf/jib-profiles.js +++ b/make/conf/jib-profiles.js @@ -851,7 +851,7 @@ var getJibProfilesProfiles = function (input, common, data) { [ "linux-aarch64", "linux-x64", "macosx-x64", "macosx-aarch64", "windows-x64" ] .forEach(function (name) { var o = artifactData[name] - var jdk_subdir = (o.jdk_subdir != null ? o.jdk_subdir : "jdk-" + data.version); + var jdk_subdir = "jdk-" + data.version; var jdk_suffix = (o.jdk_suffix != null ? o.jdk_suffix : "tar.gz"); var pf = o.platform var jcovName = name + "-jcov";