redhat-developer / redhat-developer/vscode-java
Compiler options in pom.xml are not obeyed
オープン
まだ誰も着手していません。
Maven
upstream
- 主要言語
- TypeScript
- スター
- 2.3k
- フォーク
- 546
- 平均マージ
- 20時間 1分
- マージ済み PR(30日)
- 11
説明
VSCode with the RedHat Language Support for Java extension does not obey javac compiler options specified in the Maven pom.xml when compiling projects.
Environment
- Operating System: Debian 12
- JDK version: 21.0.1
- Visual Studio Code version: 1.87.0
- Java extension version: 1.29.2024030608
Steps To Reproduce
- Compile the sample project via
mvn compile. Note that no errors or warnings are produced. - Open the sample project in VSCode and wait for the Java extension to build it. Note that 1 warning is produced.
Sample project:
https://github.com/paulmedynski/vscode-java-compiler-args
Current Result
VSCode produces compiler errors and warnings that are disabled in pom.xml.
Expected Result
VSCode compiles the project with the same compiler options specified in pom.xml.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
リンクされているサンプルプロジェクトから始め、pom.xml のコンパイラーオプションを期待される動作として、mvn compile と VSCode Java extension のビルドを比較します。extension がそれらのオプションをどのようにインポートまたは適用しているかを追跡し、その後、VSCode が Maven と同じ診断を生成することを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java, typescript
- 領域
- build-system, devtools
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100