Bug 145333

Summary: [hierarchy] Resolving too much
Product: [Eclipse Project] JDT Reporter: Philipe Mulet <philippe_mulet>
Component: CoreAssignee: Jerome Lanneluc <jerome_lanneluc>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 Keywords: performance
Version: 3.2   
Target Milestone: 3.3 M1   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Proposed fix none

Description Philipe Mulet CLA 2006-06-05 09:04:08 EDT
Build 3.2RC6

Reading code at HierarchyResolver#resolve(Openable[]...)
it seems that at line 680, it is completing type bindings asking to resolve fields/methods which should only be necessary when dealing with local types.
Comment 1 Jerome Lanneluc CLA 2006-06-05 11:55:01 EDT
Created attachment 43482 [details]
Proposed fix

Indeed, creating fields and methods is not needed if the cu has no local types.
Comment 2 Jerome Lanneluc CLA 2006-06-16 08:45:17 EDT
Patch released for 3.3M1 in HEAD.
Comment 3 Frederic Fusier CLA 2006-08-07 06:43:25 EDT
Verified for 3.3 M1 using build I20060807-0010.