Skip to content

Commit a2d1438

Browse files
[test] Fix JDK sources URLs
1 parent 5508e43 commit a2d1438

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.circleci/download-jdk-sources.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ DEST=$3
77
# that is normally distributed with JDK.
88
wget "$URL" -O full-src.zip
99
unzip -q full-src.zip
10-
cp -r jdk-*/src/java.base/share/classes java.base
11-
cp -r jdk-*/src/java.desktop/share/classes java.desktop
10+
cp -r jdk*/src/java.base/share/classes java.base
11+
cp -r jdk*/src/java.desktop/share/classes java.desktop
1212
zip -qr $DEST java.base java.desktop
13-
rm -rf java.base java.desktop jdk-* full-src.zip
13+
rm -rf java.base java.desktop jdk* full-src.zip

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ base-src-jdk8.zip:
2222
touch $@
2323

2424
base-src-jdk11.zip:
25-
bash .circleci/download-jdk-sources.sh https://github.com/adoptium/jdk/archive/refs/tags/jdk-11.0.25+9.zip jdk11 $@
25+
bash .circleci/download-jdk-sources.sh https://github.com/adoptium/jdk11u/archive/refs/tags/jdk-11.0.28+0.zip jdk11 $@
2626

2727
base-src-jdk17.zip:
28-
bash .circleci/download-jdk-sources.sh https://github.com/adoptium/jdk/archive/refs/tags/jdk-17.0.13+11.zip jdk17 $@
28+
bash .circleci/download-jdk-sources.sh https://github.com/adoptium/jdk17u/archive/refs/tags/jdk-17.0.15+5.zip jdk17 $@
2929

3030
base-src-jdk21.zip:
31-
bash .circleci/download-jdk-sources.sh https://github.com/adoptium/jdk/archive/refs/tags/jdk-21.0.5+3.zip jdk21 $@
31+
bash .circleci/download-jdk-sources.sh https://github.com/adoptium/jdk21u/archive/refs/tags/jdk-21.0.7+5.zip jdk21 $@
3232

3333
base-src-jdk24.zip:
3434
bash .circleci/download-jdk-sources.sh https://github.com/adoptium/jdk/archive/refs/tags/jdk-24+36.zip jdk24 $@

0 commit comments

Comments
 (0)