redhat-developer / redhat-developer/vscode-java

Compiler options in pom.xml are not obeyed

オープン
#3,518 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

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
  1. Compile the sample project via mvn compile. Note that no errors or warnings are produced.
  2. 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.

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

リンクされているサンプルプロジェクトから始め、pom.xml のコンパイラーオプションを期待される動作として、mvn compile と VSCode Java extension のビルドを比較します。extension がそれらのオプションをどのようにインポートまたは適用しているかを追跡し、その後、VSCode が Maven と同じ診断を生成することを確認します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
java, typescript
領域
build-system, devtools
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。