Skip to content

Conversation

@steffenschmitt1
Copy link

@steffenschmitt1 steffenschmitt1 commented Jul 28, 2025

Prevent rebuild triggered by type hierarchy restoration.

Fixes #2305

Copy link
Contributor

@fedejeanne fedejeanne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the PR @steffenschmitt1 !

Questions:

  1. How do I test it and what is the expected outcome?
  2. This one fixes #2305, right? In that case, I would add Fixes https://github.com/eclipse-jdt/eclipse.jdt.ui/issues/2305 to the description of this PR and modify the commit-text:
Prevent rebuild triggered by type hierarchy restoration #2305

Fixes https://github.com/eclipse-jdt/eclipse.jdt.ui/issues/2305

@steffenschmitt1
Copy link
Author

Reproducing the rebuild:

  1. Open a type hierarchy
  2. Close Eclipse while the type hierarchy is visible, so that it will be restored automatically upon startup.
  3. Start Eclipse
  4. A rebuild should be triggered. The easiest way to recognize this is when a rebuild of a project occurs that takes a noticeable amount of time.

Accordingly, the bugfix can be verified by confirming that no rebuild is triggered.

@fedejeanne
Copy link
Contributor

Hm, odd. After rebasing on master, I still see the 21 unrelated test failures (#2423).

@steffenschmitt1 steffenschmitt1 force-pushed the master branch 2 times, most recently from 5beaecb to b350c33 Compare August 21, 2025 09:13
@fedejeanne
Copy link
Contributor

Hm, odd. After rebasing on master, I still see the 21 unrelated test failures (#2423).

My bad, @steffenschmitt1, you didn't rebase on master. Can you please rebase on master to see if the failing checks disappear?

@steffenschmitt1
Copy link
Author

I won’t be able to take care of this any further. I believe the PR is basically fine as it is, unless something has changed in the meantime. If anything else is needed, someone else will have to take over. @fedejeanne @HeikoKlare

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.

Restore Type Hierarchy triggers rebuild

2 participants