Align tooling JDK validation and guidance with redhat.java 1.57.0 (JDK 25+)
Maintainer thường phản hồi trong vòng 1 ngày
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 48/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- java, typescript, vscode
- Lĩnh vực
- developer-experience, tooling
Hướng nghiên cứu
Start with src/java-runtime/utils/upstreamApi.ts, src/java-runtime/assets/ToolingJDKPanel.tsx, and src/beginner-tips/assets/tabs/FaqPanel.tsx, then compare the runtime-selection behavior with the linked redhat.java resolver. Check existing tests for runtime validation and UI guidance. Done means readiness, displayed runtime information, and guidance consistently reflect the language server's JDK 25 minimum while preserving older project targets and compatibility with older extension versions.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Summary
Align Java Pack's runtime validation, Configure Java Runtime UI, and beginner guidance with the JDK requirements and runtime-selection behavior of redhat.java 1.57.0.
The release adds Java 27 project support and requires JDK 25 or newer to launch the language server. These are different requirements: projects must not be forced to target Java 25 or Java 27.
Current behavior
Verified against Java Pack main at 0823dbde1947de111c39890fc095f55c0ff0d258:
- The runtime resolver still uses
REQUIRED_JDK_VERSION = 17. - The tooling JDK panel independently hard-codes the same minimum.
- The beginner FAQ also independently hard-codes 17.
- Java Pack's resolver is an older copy of the upstream resolution logic. It can treat an explicitly configured, under-minimum tooling JDK as valid, whereas the new language support extension rejects it for tooling and attempts to select a qualified runtime.
In contrast, the current language support resolver requires 25 and includes fallback handling for under-minimum configured runtimes.
This can make Java Pack's readiness checks and displayed tooling JDK disagree with the runtime that actually launches the language server. This report is based on source inspection; it is not a claim that every Java 27 project fails to launch.
Proposed scope
- Align tooling-runtime validation and selection with the installed language support extension's supported requirements, including explicit settings, bundled runtimes, and fallback discovery.
- Update all related UI and FAQ messages together, avoiding contradictory independently maintained minimums.
- Keep the tooling runtime separate from project runtimes. Older project targets must continue to work.
- Do not add a separate hard-coded Java 27 compiler-level list: the project settings UI already obtains supported levels from
redhat.java's runtime configuration schema.
Acceptance criteria
- With
redhat.java1.57.0, tooling readiness never reports an external JDK 17-24 as satisfying the language server's JDK 25 minimum. - When an under-minimum explicit tooling JDK is configured, displayed runtime/error information agrees with the language support extension's selection and fallback behavior.
- A valid bundled JDK 25 is recognized without requiring a separate JDK 27 installation just to launch the language server.
- JDK 25 and JDK 27 tooling installations are recognized correctly; supported older project runtimes remain configurable.
- Configure Java Runtime, the tooling JDK panel, and the FAQ present consistent requirements.
- Existing supported combinations with older
redhat.javaversions are considered when choosing how to obtain or version the minimum requirement.
Related
- Historical runtime-alignment work: microsoft/vscode-java-pack#787, which is closed and predates this new requirement.
- Language support release: vscode-java 1.57.0 changelog.
- Ngôn ngữ chính
- TypeScript
- Star
- 355
- Fork
- 165
- Merge trung bình
- 12 giờ 36 phút
- Pull request đã merge (30 ngày)
- 9
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của microsoft/vscode-java-pack
-
Offer non-LTS and opt-in early-access JDKs in Install New JDK (Java 27)Có thể đã có người làm @chagong đã nhận 4 ngày trước. Đang mởai-triaged enhancement
microsoft/vscode-java-pack#1766 · 1 bình luận · 1 reaction · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Memory Leak in LinuxĐang mởai-triaged bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 42/100
microsoft/vscode-java-pack#1543 · 8 bình luận · 4 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
ai-triaged bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
microsoft/vscode-java-pack#1443 · 1 bình luận · 2 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
ai-triaged bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
microsoft/vscode-java-pack#1425 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
ai-triaged enhancement feature-request
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 20/100
microsoft/vscode-java-pack#1423 · 2 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của microsoft/vscode-java-pack
Issue tương tự
-
area:deploy task
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
wilanis/wilanis-js#1017 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation v2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
modelcontextprotocol/servers#5133 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
budget bug feature frontend good-issue medium needs-review OSCI'26 payments
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
SatyamPandey-07/WorkSphere#5990 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
lugassawan/swe-workbench#799 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug good first issue javascript
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
yukikotani231/sqlsift#326 ·
Maintainer thường phản hồi trong vòng 1 ngày