Skip to content

Commit

Permalink
Test with Java 21
Browse files Browse the repository at this point in the history
Java 21 released Sep 19, 2023. We'd like to announce full support for
Java 21 in early October and would like the most used plugins to be
compiling and testing 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 very 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 Oct 1, 2023
1 parent fa68ec6 commit 9fe1f2c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
buildPlugin(
useContainerAgent: true,
configurations: [
[platform: 'linux', jdk: 17],
[platform: 'windows', jdk: 11],
[platform: 'linux', jdk: 21],
[platform: 'windows', jdk: 17],
])

0 comments on commit 9fe1f2c

Please sign in to comment.