redhat-developer / redhat-developer/vscode-java
List.of seem broken while using jdk 17
Aperta
@snjeza ci sta già lavorando.
Dal 29/11/2022.
compile
Maven
- Lingua principale
- TypeScript
- Stelle
- 2.3k
- Fork
- 546
- Merge medio
- 20h 1m
- PR unite (30g)
- 11
Descrizione
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
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Valutazione
Questa issue non è ancora stata valutata.