redhat-developer / redhat-developer/vscode-java
List.of seem broken while using jdk 17
Đang mở
@snjeza đang làm issue này rồi.
Từ ngày 29/11/2022.
compile
Maven
- 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 am using vscode with redhat extension and azul sdk 17

<properties>
<java.version>17</java.version>
<application.name>${project.artifactId}</application.name>
</properties>
The method of() is undefined for the type List
The method of(String[]) is undefined for the type List
maven runs file, wheras vscode tells me
List.of
is not defined as well as
var
is reported as object (but that could be related to the first issue...
running commands from command line on mvn or from mvn extension all works fine, in the extension both test extension and intellisense/error reporting are wrong (seems they fetch an older java version??)
cheers
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.
Đánh giá
Issue này chưa được đánh giá.