-
Notifications
You must be signed in to change notification settings - Fork 446
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
False positive warnings and errors #3807
Comments
I am also suffering from this problem
Looking in the LS logs the following is seen:
Whenever the project is re-built/re-compiled this error is seen followed by many many others (presumably caused by this one) This is a known bug and has been fixed in openjdk/jdk@0a58cff#diff-b0022dadcf17a9350521e4292b68668246c32423d90633ce91f8dc350eb78c70R277-R280 But as far as i can tell, is not available yet in JDK23-GA ? I've tried running the Language Server with early access JDK24, but there are other incompatibilities that i don't have the time to look into. Neither is it really a good work around :( |
When loading a java project, the extension reports hundreds of warnings and errors. once those files are opened, the nonsenese warnings and errors disappear.
If at any point all java files are closed, the nonsense warnings and errors reappear.
The only way to get rid of them is to open every file they appear in.
Environment
$ java -version openjdk version "22.0.2" 2024-07-16 OpenJDK Runtime Environment Zulu22.32+15-CA (build 22.0.2+9) OpenJDK 64-Bit Server VM Zulu22.32+15-CA (build 22.0.2+9, mixed mode, sharing)
Steps To Reproduce
Dozens of warnings for file
ArrayList.java
No issues found in file after opening
The text was updated successfully, but these errors were encountered: