Use Java 24 to build Spring Framework

This commit also adapts tests for a Java 24 runtime.

Closes gh-34639
This commit is contained in:
Brian Clozel
2025-03-24 09:51:19 +01:00
parent 274a689a10
commit b8b279d3e0
4 changed files with 8 additions and 6 deletions

View File

@@ -44,7 +44,7 @@ public class JavaConventions {
/**
* The Java version we should use as the JVM baseline for building the project
*/
private static final JavaLanguageVersion DEFAULT_LANGUAGE_VERSION = JavaLanguageVersion.of(23);
private static final JavaLanguageVersion DEFAULT_LANGUAGE_VERSION = JavaLanguageVersion.of(24);
/**
* The Java version we should use as the baseline for the compiled bytecode (the "-release" compiler argument)