Skip to content
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

CompilationUnitCache: gracefully cleanup the name environment #1233

Closed
BoykoAlex opened this issue Apr 17, 2024 · 1 comment
Closed

CompilationUnitCache: gracefully cleanup the name environment #1233

BoykoAlex opened this issue Apr 17, 2024 · 1 comment

Comments

@BoykoAlex
Copy link
Contributor

Too many exceptions coming from the CU cache due to disposed name environment in the middle of CU parsing or working on the CU with reconcilers or symbol scanners.

Name environment on the CU cache is cleared when an event affecting this environment arrives, i.e. classpath change or class file changes.

Let the work in progress on the CU finish and then update the name environment:

  • reduce the # of weird exceptions
  • let reconciling, symbol scanning, syntax highlighting finish normally and provide results in case the operation won't be reattempted
@BoykoAlex
Copy link
Contributor Author

Fixed with 2543bdf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants