redhat-developer / redhat-developer/vscode-java
bootstrapClasspath not working
オープン
@snjeza がすでに取り組んでいます。
2019年1月17日 から。
compile
Gradle
upstream
- 主要言語
- TypeScript
- スター
- 2.3k
- フォーク
- 546
- 平均マージ
- 20時間 1分
- マージ済み PR(30日)
- 11
説明
I have a gradle project that sets a bootstrapClasspath like so:
tasks.withType(JavaCompile) {
options.bootstrapClasspath = files(project(":haikuRT").tasks["compileJava"].destinationDir, "../lib/nxt/classes.jar")
}
If I do a gradlew build, the project builds without error. However, vscode continues to show compile errors because bootstrapClasspath is not honored. For example, a modification has been made (a method added) to the Thread class however the language server is accessing the Thread class within the JDK.
Environment
- Operating System: Both Windows 10 and OSX 10.12.5
- JDK version: Both 1.8 and 11
- Visual Studio Code version: 1.30.2
- Java extension version: unknown
Steps To Reproduce
- Clone https://github.com/chuckb/haikuVM
- ./gradlew build (note that it builds)
- Observe that the bootstrap subproject has compile errors.
Current Result
Gradle build and vscode show inconsistent results.
Expected Result
vscode should show no compile errors.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
評価
この issue はまだ評価されていません。