Skip to content

Commit ce4e54d

Browse files
committed
Add more fallback Java versions for tests
1 parent d14df0c commit ce4e54d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/tests/run-java-in-container.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,15 @@ tryJdks=(
1414
# try progressively less specific versions to try and find something that can compile an appropriate ".class" object for use in $image (working our way out from "Java 8" because that's going to be the most compatible)
1515
"${image%%:*}:8-jdk-slim"
1616
"${image%%:*}:8-jdk"
17+
"${image%%:*}:8"
18+
"${image%%:*}:11-jdk-slim"
19+
"${image%%:*}:11-jdk"
20+
"${image%%:*}:11"
1721
"${image%%:*}:jdk-slim"
1822
"${image%%:*}:jdk"
1923
"${image%%:*}:latest"
2024
'eclipse-temurin:8-jdk'
25+
'eclipse-temurin:11-jdk'
2126
)
2227
jdk=
2328
for potentialJdk in "${tryJdks[@]}"; do

0 commit comments

Comments
 (0)