From 0aa9c64151a76213ce55053cb379e018b7dcd668 Mon Sep 17 00:00:00 2001 From: Stewart X Addison Date: Thu, 18 Aug 2022 14:04:44 +0100 Subject: [PATCH] unixPB: use JDK8 for bootstrapping JDK8 on Linux Signed-off-by: Stewart X Addison --- build-farm/make-adopt-build-farm.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build-farm/make-adopt-build-farm.sh b/build-farm/make-adopt-build-farm.sh index 06b4b4271..214d5a379 100755 --- a/build-farm/make-adopt-build-farm.sh +++ b/build-farm/make-adopt-build-farm.sh @@ -147,6 +147,10 @@ then # which is only available from jdk-19 so we cannot bootstrap with JDK18 JDK_BOOT_VERSION="19" fi + if [ "${JAVA_FEATURE_VERSION}" == "8" ]; then + # Reduce external dependencies and use Adoptium builds if present + JDK_BOOT_VERSION="8" + fi fi echo "Required boot JDK version: ${JDK_BOOT_VERSION}"