Skip to content

Commit 77f144f

Browse files
committed
update the known runtimes for Espresso
1 parent 56cb488 commit 77f144f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

espresso/src/com.oracle.truffle.espresso/src/com/oracle/truffle/espresso/EspressoLanguage.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -654,7 +654,7 @@ public static Path getEspressoLibs(TruffleLanguage.Env env) {
654654
}
655655
}
656656

657-
private static final String[] KNOWN_ESPRESSO_RUNTIMES = {"jdk21", "openjdk21"};
657+
private static final String[] KNOWN_ESPRESSO_RUNTIMES = {"jdk25", "openjdk25", "jdk21", "openjdk21", "jdk" + JavaVersion.HOST_VERSION, "openjdk" + JavaVersion.HOST_VERSION};
658658
private static final Pattern VALID_RESOURCE_ID = Pattern.compile("[0-9a-z\\-]+");
659659

660660
public static Path getEspressoRuntime(TruffleLanguage.Env env) {

0 commit comments

Comments
 (0)