Skip to content

Commit 230116f

Browse files
committed
svm: deprecate the JDKLatest predicate since it is now always valid
1 parent 5fcf5a2 commit 230116f

File tree

1 file changed

+3
-0
lines changed
  • substratevm/src/com.oracle.svm.core/src/com/oracle/svm/core/jdk

1 file changed

+3
-0
lines changed

substratevm/src/com.oracle.svm.core/src/com/oracle/svm/core/jdk/JDKLatest.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,10 @@
3131
/**
3232
* Denotes the latest supported JDK version. It corresponds to the highest key in the
3333
* {@code JVMCI_MIN_VERSIONS} map in {@link jdk.graal.compiler.hotspot.JVMCIVersionCheck}.
34+
*
35+
* @deprecated SVM only supports a single JDK version, so this predicate is no longer useful.
3436
*/
37+
@Deprecated(since = "25.0.0", forRemoval = true)
3538
public class JDKLatest implements BooleanSupplier {
3639
@Override
3740
public boolean getAsBoolean() {

0 commit comments

Comments
 (0)