Skip to content

Run tests on JDK 21 instead of 17 #838

@jormundur00

Description

@jormundur00

Is your feature request related to a problem? Please describe.
Currently, all tests run on GraalVM 17 (and, experimentally, latest-ea JDK 25). As we intend to test features not present JDK 17 (but present on 21), we should bump the tests to use JDK21.

Describe the solution you'd like
We should change up the prepare-environment action to build the JAVA_HOME and GRAALVM_HOME separately. The JAVA_HOME should still remain on JDK 17, so we stay compatible with our current gradle wrapper, while the main tests should run on JDK 21 (the GRAALVM_HOME).

Describe alternatives you've considered
The only alternative is to not test new features, but this seems out of the question, and is not a viable alternative.

Additional context
Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestpriorityThis issue needs to be treated with higher priority.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions