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 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.
  • Loading branch information
MarkEWaite committed Oct 9, 2023
1 parent 45812fe commit 3f32a17
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,4 +1,4 @@
buildPlugin(useContainerAgent: false, configurations: [
[platform: 'linux', jdk: 17],
[platform: 'maven-11-windows', jdk: 11] // TODO Docker-based tests fail when using Docker on Windows. The maven-windows agents do not have Docker installed so tests that require Docker are skipped.
[platform: 'linux', jdk: 21],
[platform: 'windows', jdk: 17],
])

0 comments on commit 3f32a17

Please sign in to comment.