redhat-developer / redhat-developer/vscode-java
Decompilation result seems to be cached until language server workspace is cleaned
@testforstephen is already working on this.
Since Aug 16, 2023.
- Dominant language
- TypeScript
- Stars
- 2.3k
- Forks
- 546
- Avg merge
- 20h 1m
- Merged PRs (30d)
- 11
Description
When you click on a class file and then click "Decompile class file", the results of this seem to be cached, even if that class file is regenerated.
It appears the only way to update that cache is to clean the workspace, and then decompile again.
If this is indeed the case, could the modified date of the .class file not be used to invalidate the cache?
Environment
Operating System: MacOS 12.6.7
JDK version: openjdk version "17.0.8" 2023-07-18
OpenJDK Runtime Environment Homebrew (build 17.0.8+0)
OpenJDK 64-Bit Server VM Homebrew (build 17.0.8+0, mixed mode, sharing)
Visual Studio Code version: 1.81.1
Java extension version: 1.21.0
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.