Update OpenJDK 21 to version 21.0.1
Content of README.google:
Name: Java Development Kit (JDK)
URL: https://jdk.java.net/21/
Version: 21.0.1
Revision: NA
License: the GNU General Public License, version 2, with the Classpath Exception.
Description:
This is pulled directly from the website for the JDK releases that has an open source license.
Synlinks have reen resolved using `cp -rL` before uploading.
Change-Id: Ic9b8108f4855daaa02261a5dfebb58fd82a1ad32
diff --git a/scripts/add-openjdk.sh b/scripts/add-openjdk.sh
index dd756c7..c29b338 100755
--- a/scripts/add-openjdk.sh
+++ b/scripts/add-openjdk.sh
@@ -7,8 +7,8 @@
set -e
set -x
-#echo "Update this script manually before using"
-#exit -1
+echo "Update this script manually before using"
+exit -1
# Download JDK from https://jdk.java.net/X/ (X = version) into ~/Downloads
# Create directory third_party/openjdk/jdk-X
@@ -18,10 +18,14 @@
# Now run script with fingers crossed!
-JDK_VERSION="21"
+JDK_VERSION="21.0.1"
JDK_VERSION_FULL=${JDK_VERSION}
# For ea versions the full version name has a postfix.
# JDK_VERSION_FULL="${JDK_VERSION}-ea+33"
+if [[ ! "$(pwd)" =~ .*/third_party/openjdk/jdk-[1-9]*[0-9]*$ ]]; then
+ echo Run this script in the third_party/openjdk/jdk-XX directory
+ exit -1
+fi
rm -rf linux
rm -f linux.tar.gz
diff --git a/third_party/openjdk/jdk-21/linux.tar.gz.sha1 b/third_party/openjdk/jdk-21/linux.tar.gz.sha1
index 19290f3..8cfa269 100644
--- a/third_party/openjdk/jdk-21/linux.tar.gz.sha1
+++ b/third_party/openjdk/jdk-21/linux.tar.gz.sha1
@@ -1 +1 @@
-e5398039546505d79669a159e0047f84cd61ea32
\ No newline at end of file
+27d8b237b5b1196011978ec3428416fdcabebd79
\ No newline at end of file
diff --git a/third_party/openjdk/jdk-21/osx.tar.gz.sha1 b/third_party/openjdk/jdk-21/osx.tar.gz.sha1
index 1a0a1e0..452f2ef 100644
--- a/third_party/openjdk/jdk-21/osx.tar.gz.sha1
+++ b/third_party/openjdk/jdk-21/osx.tar.gz.sha1
@@ -1 +1 @@
-bd5748aea8e4d89ea7123d1c2bfe267b8fc882bd
\ No newline at end of file
+831edadc45bc3cb52c37c981bd96f1c7dada19da
\ No newline at end of file
diff --git a/third_party/openjdk/jdk-21/windows.tar.gz.sha1 b/third_party/openjdk/jdk-21/windows.tar.gz.sha1
index 7415604..333adae 100644
--- a/third_party/openjdk/jdk-21/windows.tar.gz.sha1
+++ b/third_party/openjdk/jdk-21/windows.tar.gz.sha1
@@ -1 +1 @@
-23e0f901dbb6e31f9877357a8282b531f13e7c2e
\ No newline at end of file
+c8263c4a189780294b7034409ab77c5512c6573f
\ No newline at end of file