Skip to content

Commit

Permalink
Test with Java 21
Browse files Browse the repository at this point in the history
Java 21 was released Sep 19, 2023. We want to announce full support for
Java 21 in November 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 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.
  • Loading branch information
MarkEWaite committed Nov 4, 2023
1 parent e3cb02a commit bcd8ce3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
def configurations = [
[ platform: "linux", jdk: "11" ]
[ platform: "linux", jdk: "21" ],
[ platform: "linux", jdk: "17" ]
]

buildPlugin(failFast: false, configurations: configurations)

0 comments on commit bcd8ce3

Please sign in to comment.