Bug 145333 - [hierarchy] Resolving too much
Summary: [hierarchy] Resolving too much
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.3 M1   Edit
Assignee: Jerome Lanneluc CLA
QA Contact:
URL:
Whiteboard:
Keywords: performance
Depends on:
Blocks:
 
Reported: 2006-06-05 09:04 EDT by Philipe Mulet CLA
Modified: 2006-08-07 06:43 EDT (History)
0 users

See Also:


Attachments
Proposed fix (1.25 KB, patch)
2006-06-05 11:55 EDT, Jerome Lanneluc CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.