Community
Participate
Working Groups
Say I have interfaces "A" and "B extends A", and both of these are sources to me, but are, at the same time, also imported from a lib jar. Opening "A" and clicking F4 (show type hierarchy) will bring the hierarchy. Now, clicking on "B" on that hierarchy will open the .class (jar-imported) version of B, rather than the source. That happens, even though the source is declared to be before the jar in the build class order.
Could you please provide the build id?
I first noticed the problem on RC2 (though it could have been there for a long time), and just confirmed that it also happens on RC3. Build id: I20060505-1306
Created attachment 44653 [details] Proposed fix Fix consists in sorting the potential subtypes per roots.
Created attachment 44656 [details] Regression test
Fix and test released for 3.3M1 in HEAD.
Patch had a bad side effect of not grouping potential subtypes per project. These caused performance degradation in I20060620. Added the potential subtypes sorting back in IndexBasedHierarchyBuilder#buildFromPotentialSubtypes(...). This bug is still fixed.
Verified for 3.3 M1 using build I20060807-0010. However, I was not able to reproduce the problem in 3.2 build...