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

Incomplete call hierarchy #9

Open
fedejeanne opened this issue Jul 26, 2023 · 4 comments
Open

Incomplete call hierarchy #9

fedejeanne opened this issue Jul 26, 2023 · 4 comments
Assignees
Labels
Bug A Derivation of Expected Behavior JDT Issues for JDT

Comments

@fedejeanne
Copy link

fedejeanne commented Jul 26, 2023

The call hierarchy is sometimes incomplete. This might have something to do with #4 but the workaround proposed there did not help.

The problem is reproducible in Trunk, just look for the call hierarchy (CTRL + ALT + h) of AbstractMappingHandler.streamMappings(...):
image

It looks like the method is not being called but doing a "manual renaming" (i.e. without refactoring) reveals some calls:

Image

@fedejeanne fedejeanne converted this from a draft issue Jul 26, 2023
@fedejeanne fedejeanne moved this from 🆕 New to 🏗 In progress in Eclipse Aug 22, 2023
@fedejeanne
Copy link
Author

The problem is not reproducible in 2023-06

@github-project-automation github-project-automation bot moved this from 🏗 In progress to ✅ Done in Eclipse Aug 22, 2023
@fedejeanne fedejeanne reopened this Aug 29, 2023
@fedejeanne
Copy link
Author

The problem is reproducible in 2023-06 but not in 2023-09 M1 (at least for now). I'll leave this issue open until 2023-09 is released and rolled out as out "stable" IDE and try to reproduce it one more time.

If this error is only sporadically reproducible then it probably is a consequence of eclipse-jdt/eclipse.jdt.core#1303

@fedejeanne fedejeanne moved this from ✅ Done to Ongoing in Eclipse Aug 29, 2023
@fedejeanne fedejeanne self-assigned this Aug 29, 2023
@HeikoKlare HeikoKlare added Bug A Derivation of Expected Behavior JDT Issues for JDT labels Sep 7, 2023
@HeikoKlare HeikoKlare moved this from Ongoing to 🔖 Ready in Eclipse Oct 4, 2023
@HeikoKlare
Copy link
Contributor

This issue seems to be related or even the same: https://bugs.eclipse.org/bugs/show_bug.cgi?id=552774
It provides multiple reproduction scenarios. Some cases where caller are missing have been addressed in 4.28 (which conforms to the results of your analysis, @fedejeanne). But the issue does not seem to be fixed completely, so we may have another look we the latest reproduction scenario provided by Eike in that bug report.

@fedejeanne
Copy link
Author

Thank you @HeikoKlare , the issue is now reproducible in 2023-09.

I will look into it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug A Derivation of Expected Behavior JDT Issues for JDT
Projects
Status: 🔖 Ready: Atomic
Development

No branches or pull requests

2 participants