Bug 111416 - [search] wrong potential matches on a static method open
Summary: [search] wrong potential matches on a static method open
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.2 M4   Edit
Assignee: Frederic Fusier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 115806 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-10-04 05:47 EDT by Martin Aeschlimann CLA
Modified: 2005-12-13 15:35 EST (History)
1 user (show)

See Also:


Attachments

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