Skip to content

Commit 226784d

Browse files
committed
compiler: adopt JVMCIVersionCheck.JVMCI_MIN_VERSIONS
1 parent 7ae7971 commit 226784d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

compiler/src/jdk.graal.compiler/src/jdk/graal/compiler/hotspot/JVMCIVersionCheck.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,10 @@ public final class JVMCIVersionCheck {
5353
* default/fallback entry.
5454
*/
5555
private static final Map<String, Map<String, Version>> JVMCI_MIN_VERSIONS = Map.of(
56-
"21", Map.of(DEFAULT_VENDOR_ENTRY, new Version(23, 1, 33)),
56+
"21", Map.of(DEFAULT_VENDOR_ENTRY, createLegacyVersion(23, 1, 33)),
5757
"23", Map.of(
58-
"Oracle Corporation", new Version("23+14", 1),
59-
DEFAULT_VENDOR_ENTRY, new Version("23+14", 1)));
58+
"Oracle Corporation", createLabsJDKVersion("23+14", 1),
59+
DEFAULT_VENDOR_ENTRY, createLabsJDKVersion("23+14", 1)));
6060
private static final int NA = 0;
6161
/**
6262
* Minimum Java release supported by Graal.

0 commit comments

Comments
 (0)