Skip to content

Fail fast with explicit error message for incompatible JDK version (currently < 24) #46818

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

BenchmarkingBuffalo
Copy link
Contributor

If the JDK version used to compile the software is not compatible with Java 24, the build fails fast with a hint what has gone wrong. This check happens on the projectsLoaded hook.
Fix #46625

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Aug 12, 2025
If the JDK version used to compile the software is not compatible with Java 24, the build fails fast with a hint what has gone wrong.
This check happens on the 'projectsLoaded' hook.
Fix spring-projectsgh-46625

Signed-off-by: BenchmarkingBuffalo <[email protected]>
@BenchmarkingBuffalo BenchmarkingBuffalo force-pushed the 46625-fail-with-a-useful-error-message-if-gradle-is-run-on-jdk-prior-24 branch from c8e9242 to a6705d5 Compare August 13, 2025 18:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: waiting-for-triage An issue we've not yet triaged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fail with a useful error message if Gradle is run on JDK < 24
2 participants