Bug 111416

Summary: [search] wrong potential matches on a static method open
Product: [Eclipse Project] JDT Reporter: Martin Aeschlimann <martinae>
Component: CoreAssignee: Frederic Fusier <frederic_fusier>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: n.a.edgar
Version: 3.2   
Target Milestone: 3.2 M4   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Martin Aeschlimann CLA 2005-10-04 05:47:12 EDT
I20051004

In 20051004 open the class SortMembersMessageDialog and search for references on
its static method
public static int open(String id, Shell parent....

You get 365 potential matches, all wrong, all in class files.
Comment 1 Frederic Fusier CLA 2005-11-16 09:34:26 EST
Regression due to bug 86901 fix.
Comment 2 Frederic Fusier CLA 2005-11-25 10:08:45 EST
*** Bug 115806 has been marked as a duplicate of this bug. ***
Comment 3 Frederic Fusier CLA 2005-11-28 09:24:03 EST
Fixed and released in HEAD.

Unfortunately, no test case added as this kind of potential matches (dependent plugin of a dependent plugin) are not reproducible in our search test suites...
Comment 4 Jerome Lanneluc CLA 2005-12-13 10:13:39 EST
Verified for 3.2 M4 using build I20051213-0010
Comment 5 Frederic Fusier CLA 2005-12-13 15:35:06 EST
Finally, it was possible to add a test for this kind of config
=> done: JavaSearchTests#testMethodReference17