vscode-java
vscode-java copied to clipboard
How to identify the usage of com.sun.source.* packages in a project
My project is a legacy Java 8 application that relies on com.sun.source.* packages. Although I have configured the language extension to use JDK 25, the code referencing com.sun.source.* still shows red squiggly lines (errors) when I open the source files. I have already applied the following configuration: