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

Do not use runReadOnly during TypeHierarchyViewPart.updateViewers #1408 #1410

Merged
merged 1 commit into from
May 16, 2024

Conversation

jukzi
Copy link
Contributor

@jukzi jukzi commented May 16, 2024

partial revert of fc6a25a

The used firePostSelectionChanged may run events that try to edit java model.

fixes #1408

Since "Increase JavaModelCache #1929" its not a performance impact anymore anyway, since the jdt.core typically keeps a cached JavaModel of the TypeHierarchy after computing it anyway and does not need to compute it in ui again.

…ipse-jdt#1408

partial revert of fc6a25a

The used firePostSelectionChanged may run events that try to edit java
model.

fixes eclipse-jdt#1408

Since "Increase JavaModelCache #1929" its not a performance impact
anymore anyway, since the jdt.core typically keeps a cached JavaModel of
the TypeHierarchy after computing it anyway and does not need to compute
it in ui again.
@jukzi jukzi requested a review from iloveeclipse May 16, 2024 10:50
@jukzi jukzi merged commit 582704e into eclipse-jdt:master May 16, 2024
9 checks passed
@jukzi jukzi deleted the TypeHierarchyViewPart.updateViewers branch May 16, 2024 12:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error part opened from type hierarchy
3 participants