Skip to content

Commit 95baba2

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 we 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 7985de1 commit 95baba2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Jenkinsfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
def configurations = [
2-
[ platform: "linux", jdk: "11" ]
2+
[ platform: "linux", jdk: 21 ],
3+
[ platform: "linux", jdk: 17 ],
34
]
45

56
buildPlugin(failFast: false, configurations: configurations)

0 commit comments

Comments
 (0)