Skip to content

Commit

Permalink
[GR-60401] Update labsjdk to 25+1-jvmci-b01
Browse files Browse the repository at this point in the history
PullRequest: graal/19566
  • Loading branch information
marwan-hallaoui authored and zapster committed Dec 12, 2024
2 parents 0284e28 + 313f008 commit b2b3de3
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 14 deletions.
14 changes: 7 additions & 7 deletions common.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,13 @@

"oraclejdk23": {"name": "jpg-jdk", "version": "23", "build_id": "jdk-23+37", "platformspecific": true, "extrabundles": ["static-libs"]},

"oraclejdk-latest": {"name": "jpg-jdk", "version": "24", "build_id": "jdk-24+27", "platformspecific": true, "extrabundles": ["static-libs"]},
"labsjdk-ce-latest": {"name": "labsjdk", "version": "ce-24+27-jvmci-b01", "platformspecific": true },
"labsjdk-ce-latestDebug": {"name": "labsjdk", "version": "ce-24+27-jvmci-b01-debug", "platformspecific": true },
"labsjdk-ce-latest-llvm": {"name": "labsjdk", "version": "ce-24+27-jvmci-b01-sulong", "platformspecific": true },
"labsjdk-ee-latest": {"name": "labsjdk", "version": "ee-24+27-jvmci-b01", "platformspecific": true },
"labsjdk-ee-latestDebug": {"name": "labsjdk", "version": "ee-24+27-jvmci-b01-debug", "platformspecific": true },
"labsjdk-ee-latest-llvm": {"name": "labsjdk", "version": "ee-24+27-jvmci-b01-sulong", "platformspecific": true }
"oraclejdk-latest": {"name": "jpg-jdk", "version": "25", "build_id": "jdk-25+1", "platformspecific": true, "extrabundles": ["static-libs"]},
"labsjdk-ce-latest": {"name": "labsjdk", "version": "ce-25+1-jvmci-b01", "platformspecific": true },
"labsjdk-ce-latestDebug": {"name": "labsjdk", "version": "ce-25+1-jvmci-b01-debug", "platformspecific": true },
"labsjdk-ce-latest-llvm": {"name": "labsjdk", "version": "ce-25+1-jvmci-b01-sulong", "platformspecific": true },
"labsjdk-ee-latest": {"name": "labsjdk", "version": "ee-25+1-jvmci-b01", "platformspecific": true },
"labsjdk-ee-latestDebug": {"name": "labsjdk", "version": "ee-25+1-jvmci-b01-debug", "platformspecific": true },
"labsjdk-ee-latest-llvm": {"name": "labsjdk", "version": "ee-25+1-jvmci-b01-sulong", "platformspecific": true }
},

"eclipse": {
Expand Down
2 changes: 2 additions & 0 deletions compiler/mx.compiler/mx_compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,8 @@ def _capture_jvmci_version(args=None):
if out.data:
try:
(jdk_version, jvmci_major, jvmci_minor, jvmci_build) = out.data.split(',')
if jdk_version.endswith('-LTS'):
jdk_version = jdk_version[:-len('-LTS')]
return JVMCIVersionCheckVersion(JavaLangRuntimeVersion(jdk_version), int(jvmci_major), int(jvmci_minor), int(jvmci_build))
except ValueError:
mx.warn(f'Could not parse jvmci version from JVMCIVersionCheck output:\n{out.data}')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ public final class JVMCIVersionCheck {
*/
private static final Map<String, Map<String, Version>> JVMCI_MIN_VERSIONS = Map.of(
"21", Map.of(DEFAULT_VENDOR_ENTRY, createLegacyVersion(23, 1, 33)),
"24", Map.of(
"Oracle Corporation", createLabsJDKVersion("24+27", 1),
DEFAULT_VENDOR_ENTRY, createLabsJDKVersion("24+27", 1)));
"25", Map.of(
"Oracle Corporation", createLabsJDKVersion("25+1", 1),
DEFAULT_VENDOR_ENTRY, createLabsJDKVersion("25+1", 1)));
private static final int NA = 0;
/**
* Minimum Java release supported by Graal.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,8 @@ public final class TruffleBaseFeature implements InternalFeature {

private static final String NATIVE_IMAGE_FILELIST_FILE_NAME = "native-image-resources.filelist";

private static final Version NEXT_POLYGLOT_VERSION_UPDATE = Version.create(25, 1);
private static final int MAX_JDK_VERSION = 25;
private static final Version NEXT_POLYGLOT_VERSION_UPDATE = Version.create(29, 1);
private static final int MAX_JDK_VERSION = 29;

@Override
public String getURL() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,8 @@ public abstract class OptimizedTruffleRuntime implements TruffleRuntime, Truffle
private static final int JAVA_SPECIFICATION_VERSION = Runtime.version().feature();
public static final Version MIN_COMPILER_VERSION = Version.create(23, 1, 2);
public static final int MIN_JDK_VERSION = 21;
public static final int MAX_JDK_VERSION = 25;
public static final Version NEXT_VERSION_UPDATE = Version.create(25, 1);
public static final int MAX_JDK_VERSION = 29;
public static final Version NEXT_VERSION_UPDATE = Version.create(29, 1);

/**
* Used only to reset state for native image compilation.
Expand Down

0 comments on commit b2b3de3

Please sign in to comment.