oracle / graal

GraalVM compiles Java applications into native executables that start instantly, scale fast, and use fewer compute resources 🚀
https://www.graalvm.org
Other
20.27k stars 1.63k forks source link

[GR-54918] Rename JDK23OrLater to JDKLatest and remove obsolete predicates #9211

Closed graalvmbot closed 2 months ago

graalvmbot commented 3 months ago

Currently, exactly two JDK releases are supported: JDK Latest (currently 24) and JDK 21. All other version checks are not needed and cause confusion. Thus, this PR does the following:

JDKLatest is implemented in a way that we don't need to update the condition for every JDK version bump (boils down to JAVA_SPEC > 21).

There are also predicates for JDK 11 and JDK 17. Those are deprecated and unused, but kept for backwards compatibility reasons.