-
Notifications
You must be signed in to change notification settings - Fork 373
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
Critical: reference search doesn't work for fields in JDK classes #2405
Comments
@gayanper I can't reproduce the issue. Could you provide a project example reproducing the error? |
@snjeza i was browsing spring-cloud sleuth project using java17 as the project jdt in settings |
And i have the java decompiler vscode plugin installed as well. |
@gayanper I still can't reproduce the issue.
Result: 139 results in 59 files |
I think I was wrong System.out works because its not final. But if you try ForkJoinPool.SWIDTH the reference are empty. But in upstream JDT values are shown. |
Seems fields such |
@gayanper Could you try VS Code 1.15.1 ? |
I couldn't find the download file and tring building locally, But the ls build fails
May be something to do with target file updates. |
It is a VS Code vsix file. You should download it and install as an extension:
|
@snjeza No the forkjoinpool example I mentioned doesn't work |
@gayanper Could you, please, show me what you expect? |
I don't get any results when I run the Find All Reference action. I'm on MacOS running Microsoft JDK 17.0.5. I ran both release version and the master without no help of finding reference. Unfortunatly until the jdt.ls build is fixed to run on MacOS aarch64 I cannot debug to see whats wrong. |
@snjeza i ran with the vscode-java source with latest jdt.ls build from the eclipse download site. Is there any difference between that setup and your build ? |
@gayanper Yes, there is a difference. I have tried to fix this issue. |
Yes it works. |
Find reference for System.out after open java.lang.System class in vscode java. No references are shown
But take com.google.common.collect.MultimapBuilder and search for any field or constant. The reference works.
This issue cannot be reproduced in upstream JDT project.
The text was updated successfully, but these errors were encountered: