Bug 186333

Summary: [search] Should better locate fields and methods matches on binary super types with unresolved references
Product: [Eclipse Project] JDT Reporter: Frederic Fusier <frederic_fusier>
Component: CoreAssignee: Frederic Fusier <frederic_fusier>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.3   
Target Milestone: 3.4 M1   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Proposed patch
none
Additional patch none

Description Frederic Fusier CLA 2007-05-10 06:47:24 EDT
Follow-up of bug 185036 for search engine.

The patch to fix failing search tests proposed in bug 185036 comment 4 was incorrect.  ClassFileMatchLocator#locateMatches method needs to be improved to continue to report the potential matches of the unresolved references...
Comment 1 Frederic Fusier CLA 2007-07-18 05:10:41 EDT
The correct reference is bug 185306 instead of 185036!
Comment 2 Frederic Fusier CLA 2007-07-18 10:51:28 EDT
Created attachment 74058 [details]
Proposed patch
Comment 3 Frederic Fusier CLA 2007-07-18 10:52:40 EDT
Released for 3.4M1 in HEAD stream.
Comment 4 Frederic Fusier CLA 2007-07-19 11:05:45 EDT
Created attachment 74161 [details]
Additional patch

Additional patch to fix a problem with accuracy when there's no resolution
+
Lazy initialization of arrays to avoid unnecessary objects creation and copy...
Comment 5 Frederic Fusier CLA 2007-07-19 11:07:48 EDT
Additional patch released in HEAD.
Comment 6 Frederic Fusier CLA 2007-08-03 09:48:49 EDT
Verified for 3.4M1 using build I20070802-0800.