Skip to content

Commit 2a1a6c8

Browse files
author
Prakash Surya
authored
DLPX-81830 Upgrade Engine JDK to 8u342-b07 (#240)
1 parent c66c395 commit 2a1a6c8

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

packages/adoptopenjdk/config.sh

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,15 @@
1919
DEFAULT_PACKAGE_GIT_URL=none
2020
PACKAGE_DEPENDENCIES="make-jpkg"
2121

22-
_tarfile="OpenJDK8U-jdk_x64_linux_hotspot_8u332b09.tar.gz"
23-
_tarfile_sha256="adc13a0a0540d77f0a3481b48f10d61eb203e5ad4914507d489c2de3bd3d83da"
24-
_jdk_path="/usr/lib/jvm/adoptopenjdk-java8-jdk-amd64"
22+
if [[ "$UPSTREAM_PRODUCT_BRANCH" == "master" ]]; then
23+
_tarfile="OpenJDK8U-jdk_x64_linux_hotspot_8u342b07.tar.gz"
24+
_tarfile_sha256="8252c0e11d542ea0f9ce6b8f147d1a2bea4a17e9fc299da270288f5a4f35b1f3"
25+
_jdk_path="/usr/lib/jvm/adoptopenjdk-java8-jdk-amd64"
26+
else
27+
_tarfile="OpenJDK8U-jdk_x64_linux_hotspot_8u332b09.tar.gz"
28+
_tarfile_sha256="adc13a0a0540d77f0a3481b48f10d61eb203e5ad4914507d489c2de3bd3d83da"
29+
_jdk_path="/usr/lib/jvm/adoptopenjdk-java8-jdk-amd64"
30+
fi
2531

2632
function prepare() {
2733
logmust install_pkgs "$DEPDIR"/make-jpkg/*.deb

0 commit comments

Comments
 (0)