redhat-developer / redhat-developer/vscode-java
Disable automatic addition of --enable-preview flag
オープン
まだ誰も着手していません。
compile
preferences
ux
- 主要言語
- TypeScript
- スター
- 2.3k
- フォーク
- 546
- 平均マージ
- 20時間 1分
- マージ済み PR(30日)
- 11
説明
[provide a description of the issue]
Hi,
Usage of --enable-preview flag during compilation of stand along java file inhabits backward compatibility of generated class file.
It will be more useful if adding this option is left to the user instead of tool automatically adding it.
Thanks
Environment
- Operating System: any
- JDK version: 14
- Visual Studio Code version:
- Java extension version: .49
Steps To Reproduce
- Compile hello world using jdk 14
- Run generate class file in jdk 15
[Please attach a sample project reproducing the error]
Please attach logs
Current Result
Expected Result
Additional Informations
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
JDK 14 について説明されているスタンドアロン Java コンパイルのシナリオを再現し、生成されたクラスを JDK 15 で実行します。vscode-java のコンパイルパスを調べて --enable-preview が追加される場所を特定します。完了条件は、flag が自動的に追加されなくなり、その動作が適切なテストでカバーされることです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java, typescript, vscode
- 領域
- build-system, tooling
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 32/100