Skip to content

Commit 5c4ca2d

Browse files
committed
Test with Java 21
Java 21 was released Sep 19, 2023. We want to announce full support for Java 21 in early October and would like the most used plugins to be compiled and tested with Java 21. The acceptance test harness and plugin bill of materials tests are already passing with Java 21. This is a further step to improve plugin readiness for use with Java 21 and for development with Java 21. The change intentionally tests only two Java configurations, Java 17 and Java 21 because I believe that the risk of a regression that only affects Java 11 is low. We generate Java 11 byte code with the Java 17 and the Java 21 builds, so we're already testing Java 11 byte code.
1 parent 39820e3 commit 5c4ca2d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Jenkinsfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
buildPlugin(
22
useContainerAgent: true,
33
configurations: [
4-
[platform: 'linux', jdk: 17],
5-
[platform: 'windows', jdk: 11],
4+
[platform: 'linux', jdk: 21],
5+
[platform: 'windows', jdk: 17],
66
])

0 commit comments

Comments
 (0)