diff --git a/buildSrc/src/main/java/org/springframework/build/JavaConventions.java b/buildSrc/src/main/java/org/springframework/build/JavaConventions.java index 99d9d97ef67..634f1ce5924 100644 --- a/buildSrc/src/main/java/org/springframework/build/JavaConventions.java +++ b/buildSrc/src/main/java/org/springframework/build/JavaConventions.java @@ -42,12 +42,15 @@ public class JavaConventions { private static final List TEST_COMPILER_ARGS; /** - * The Java version we should use as the JVM baseline for building the project + * The Java version we should use as the JVM baseline for building the project. + *

NOTE: If you update this value, you should also update the value used in + * the {@code javadoc} task in {@code framework-api.gradle}. */ 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) + * The Java version we should use as the baseline for the compiled bytecode + * (the "-release" compiler argument). */ private static final JavaLanguageVersion DEFAULT_RELEASE_VERSION = JavaLanguageVersion.of(17);