redhat-developer / redhat-developer/vscode-java
Removing the JRE System Library from Classpath
Personne n'a encore pris cette issue.
- Langage dominant
- TypeScript
- Étoiles
- 2.3k
- Forks
- 546
- Merge moyen
- 20 h 1 min
- PR mergées (30 j)
- 11
Description
I'm unable to find a way to remove the JRE System Library from the project classpath.
Eclipse has generally had the ability to remove the System Library from classpath.
Environment
- Operating System: Windows 11 Beta (had issues on 10 as well)
- JDK version: 8 and 11 - both unable to remove
- Visual Studio Code version: 1.59.1
- Java extension version: v0.81.0
Steps To Reproduce
- Open a project, and attempt to remove the JRE System Library.
- This is not possible.
A "sample" project is available at https://github.com/VivoKey/vk-u2f. The error itself is on loading CTAP2.java.
Current Result
Unable to remove JRE System Library
Expected Result
To be able to remove the JRE system library
Additional Informations
The requirement to remove JRE System Library is for programming in JavaCard, which does not use the standard Java libraries but provides it's own. I've been ignoring the issue for a while but have now found an error where using an Exception class throws build errors in VS Code (the other builds work as normal, as they don't use the system library) due to the JavaCard library also providing a java.lang.Exception.
Guide de contribution
Ouvrir le guide de contribution
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.
Piste de recherche
Reproduisez le problème avec l’exemple VivoKey/vk-u2f lié, en vous concentrant sur CTAP2.java et son utilisation de la bibliothèque JavaCard. Examinez la configuration du classpath du projet Java et exécutez le build du projet afin d’établir l’échec actuel. C’est terminé lorsque JRE System Library peut être supprimée et que CTAP2.java se compile sans la classe standard Exception en conflit.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- java, vscode
- Domaine
- developer-experience, tooling
- Type d'issue
- Bug
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 32/100