redhat-developer / redhat-developer/vscode-java

Upgrade the bundled JDK version to 25 LTS

未关闭
#4,439 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

enhancement
主要语言
TypeScript
星标
2.3k
派生
546
平均合并
20 小时 1 分钟
30 天内合并 PR
11

描述

Is your feature request related to a problem? Please describe.
The currently bundled JDK version is 21, which does not recognize the UseCompactObjectHeaders VM option; upgrading to the latest LTS version (25) resolves this issue.

{
  message: 'Starting Java server with: /Users/leo/.vscode/extensions/redhat.java-1.55.0-darwin-arm64/jre/21.0.11-macosx-aarch64/bin/java --add-modules=ALL-SYSTEM --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/sun.nio.fs=ALL-UNNAMED -Declipse.application=org.eclipse.jdt.ls.core.id1 -Dosgi.bundles.defaultStartLevel=4 -Declipse.product=org.eclipse.jdt.ls.core.product -Djava.import.generatesMetadataFilesAtProjectRoot=false -DDetectVMInstallationsJob.disabled=true -Dfile.encoding=utf8 -XX:+UseParallelGC -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -Dsun.zip.disableMemoryMapping=true -Xmx2G -Xms100m -Xlog:disable -javaagent:/Users/leo/.vscode/extensions/redhat.java-1.55.0-darwin-arm64/lombok/lombok-1.18.39-4050.jar -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/Users/leo/Library/Application Support/Code/User/workspaceStorage/86672a3e9479386619cea829e48e468b/redhat.java -Daether.dependencyCollector.impl=bf -jar /Users/leo/.vscode/extensions/redhat.java-1.55.0-darwin-arm64/server/plugins/org.eclipse.equinox.launcher_1.7.200.v20260619-2039.jar -configuration /Users/leo/Library/Application Support/Code/User/globalStorage/redhat.java/1.55.0/config_mac -data /Users/leo/Library/Application Support/Code/User/workspaceStorage/86672a3e9479386619cea829e48e468b/redhat.java/jdt_ws',
  level: 'info',
  timestamp: '2026-06-29 11:05:18.884'
}
{
  message: 'Picked up JAVA_TOOL_OPTIONS: -XX:+UseZGC -XX:+UseStringDeduplication -XX:+UseCompactObjectHeaders\n' +
    "Unrecognized VM option 'UseCompactObjectHeaders'\n" +
    'Error: Could not create the Java Virtual Machine.\n' +
    'Error: A fatal exception has occurred. Program will exit.\n',
  level: 'info',
  timestamp: '2026-06-29 11:05:19.273'
}

Describe the solution you'd like
Upgrade the bundled JDK version to 25 LTS

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

未指定任何文件或测试;首先定位用于选择捆绑 JDK 的配置或构建入口点,并检查扩展如何对其进行打包。确认生成的 bundle 使用 JDK 25 LTS,并能在使用 UseCompactObjectHeaders 的情况下成功启动。

由索引模型根据 Issue 内容生成。

评估

技术栈
java
领域
tooling
Issue 类型
功能
难度
3/5
预计耗时
1-2 天
活跃度
冷清
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。