Skip to content

Commit 16b13bc

Browse files
committed
chore: Oracle JDK supports only 21 or later
1 parent 6d6654e commit 16b13bc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/matrix.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@ matrix.exclude({os: 'macos-latest', java_distribution: {value: 'oracle'}})
8383
// Ignore builds with JAVA EA for now, see https://github.com/apache/jmeter/issues/6114
8484
matrix.exclude({java_version: eaJava})
8585
matrix.imply({java_version: eaJava}, {java_distribution: {value: 'oracle'}})
86+
// Oracle JDK is only supported for JDK 21 and later
87+
matrix.imply({java_distribution: {value: 'oracle'}}, {java_version: v => v === eaJava || v >= 21});
8688
// TODO: Semeru does not ship Java 21 builds yet
8789
matrix.exclude({java_distribution: {value: 'semeru'}, java_version: '21'});
8890
// Ensure at least one job with "same" hashcode exists

0 commit comments

Comments
 (0)