redhat-developer / redhat-developer/vscode-java
Removing the JRE System Library from Classpath
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- TypeScript
- Star
- 2.3k
- Fork
- 546
- Merge trung bình
- 20 giờ 1 phút
- Pull request đã merge (30 ngày)
- 11
Mô tả
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.
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Tái hiện vấn đề với mẫu VivoKey/vk-u2f được liên kết, tập trung vào CTAP2.java và việc sử dụng thư viện JavaCard của nó. Kiểm tra cách classpath của dự án Java được cấu hình và chạy build của dự án để xác định lỗi hiện tại. Hoàn thành khi có thể xóa JRE System Library và CTAP2.java build được mà không có lớp Exception tiêu chuẩn xung đột.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- java, vscode
- Lĩnh vực
- developer-experience, tooling
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 32/100