This is an automated email from the ASF dual-hosted git repository.
vladimirsitnikov pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jmeter.git
The following commit(s) were added to refs/heads/master by this push:
new 16b13bc8fa chore: Oracle JDK supports only 21 or later
16b13bc8fa is described below
commit 16b13bc8faff9463dd72962dd07b5d3630bdcc8a
Author: Vladimir Sitnikov <[email protected]>
AuthorDate: Tue Jul 22 17:08:42 2025 +0300
chore: Oracle JDK supports only 21 or later
---
.github/workflows/matrix.js | 2 ++
1 file changed, 2 insertions(+)
diff --git a/.github/workflows/matrix.js b/.github/workflows/matrix.js
index acf5472f94..581855dda0 100644
--- a/.github/workflows/matrix.js
+++ b/.github/workflows/matrix.js
@@ -83,6 +83,8 @@ matrix.exclude({os: 'macos-latest', java_distribution:
{value: 'oracle'}})
// Ignore builds with JAVA EA for now, see
https://github.com/apache/jmeter/issues/6114
matrix.exclude({java_version: eaJava})
matrix.imply({java_version: eaJava}, {java_distribution: {value: 'oracle'}})
+// Oracle JDK is only supported for JDK 21 and later
+matrix.imply({java_distribution: {value: 'oracle'}}, {java_version: v => v ===
eaJava || v >= 21});
// TODO: Semeru does not ship Java 21 builds yet
matrix.exclude({java_distribution: {value: 'semeru'}, java_version: '21'});
// Ensure at least one job with "same" hashcode exists