microsoft / microsoft/vscode-java-pack

Bug

オープン
#276 コメント 2 件 リアクション 0 件 担当者 1 名 GitHub で見る

@testforstephen がすでに取り組んでいます。

2019年12月13日 から。

ai-triaged bug
主要言語
TypeScript
スター
352
フォーク
166
平均マージ
17時間 47分
マージ済み PR(30日)
32

説明

Environment:

  • VS Code Version: 1.40.0
  • Extension Version: 0.8.1
  • JDK Type & Version: OpenJDK 11.0.2
  • OS Type & Version: Mac OS Catalina 10.15.1

Step to Reproduce:
Import the Java Gradle project without any module-info.java file in it.

Expected Behavior:
The project should build.

Actual Behavior:
The project doesn't build.
It shows the error: The package is accessible from more than one module problem
The project builds fine on the command line with Gradle and also in the IntelliJ IDE.
Only in VSCode does it give: The package javax.crypto is accessible from more than one module
The are no module-info.java file in the entire project.
The command java --list-modules gives:
java.*
jdk.*
The VSCode home setting for the JDK is:
"java.home": ".sdkman/candidates/java/current"
The version:
.sdkman/candidates/java/current/bin/java -version (master)pid2
openjdk version "11.0.2" 2019-01-15
OpenJDK Runtime Environment 18.9 (build 11.0.2+9)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.2+9, mixed mode)

Is there a setting to disable the checking of conflicts between the noname module containing the packages of the CLASSPATH and the packages in the modules of the MODULEPATH ?

It is an issue with the JDK still opened in 13 https://bugs.openjdk.java.net/browse/JDK-8215739
as seen at https://stackoverflow.com/questions/51094274/eclipse-cant-find-xml-related-classes-after-switching-build-path-to-jdk-10/53824670#53824670

Related Issues:

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

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

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

評価

この issue はまだ評価されていません。

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

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