microsoft / microsoft/vscode-java-pack
Bug
@testforstephen y travaille déjà.
Depuis le 13/12/2019.
- Langage dominant
- TypeScript
- Étoiles
- 352
- Forks
- 166
- Merge moyen
- 17 h 47 min
- PR mergées (30 j)
- 32
Description
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:
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Évaluation
Cette issue n'a pas encore été évaluée.