Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

Java version support is quite misleading

未關閉
#4,182 4 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 4 天內回覆

還沒有人認領這個 Issue。

評估

難度
2/5
預估耗時
1-3 小時
新手友好度
45/100
Issue 類型
文件
描述清晰度
基本清楚
活躍度
停滯
技術堆疊
java
領域
documentation

研究方向

比較擴充功能所聲明的 Java 1.8–25 支援與連結的 eclipse.jdt.ls 支援詳細資訊,以及回報的 Gradle Java 25 診斷結果。更新相關的支援說明,讓使用者能區分受支援的原始碼與受支援的編譯,並確認最終的陳述與 Problems panel 的行為一致。

由索引模型根據 Issue 內容生成。

描述

java question

Here you say that this extension "Supports code from Java 1.8 to Java 25". But since it is based on https://github.com/eclipse-jdtls/eclipse.jdt.ls if you read the details there, it says: "Supports compiling projects from Java 1.8 through 24".

So it is not clear if using Java 25 is safe now. The "code" is supported, but not "compiling" it?

When using gradle configured for Java 25 (with the code obtained from gradle init) I can compile and execute tests, but the "Problems" panel is full of

[{
"resource": ".../bugrep/app/src/main/java/org/example/App.java",
"owner": "_generated_diagnostic_collection_name_#5",
"code": "4195414",
"severity": 4,
"message": "Compiling for Java version '25' is not supported yet. Using '24' instead",
"source": "Java",
"startLineNumber": 1,
"startColumn": 1,
"endLineNumber": 1,
"endColumn": 2,
"origin": "extHost1"
}]

This is quite confusing.

主要語言
TypeScript
星號
2.3k
分支
547
平均合併
5 小時 36 分鐘
30 天內合併 PR
10

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

redhat-developer/vscode-java 的其他 Issue

查看 redhat-developer/vscode-java 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。