| Summary: | [search] Search finds too many references | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Michael Schneider <michschn> |
| Component: | Core | Assignee: | JDT-Core-Inbox <jdt-core-inbox> |
| Status: | CLOSED WONTFIX | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | frederic_fusier, Olivier_Thomann |
| Version: | 3.6 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | stalebug | ||
note: when changing the signature of public <T> void doIt(T arg) to public void doIt(Object arg) the reference search works as expected This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie. |
Build Identifier: I20091030-1201 See sample below. 1) invoke call hierarchy on both doIt methods observe: for both doIt methods, caller1 and caller2 are returned public class Foo { public <T> void doIt(T arg) { } public <T extends Runnable> void doIt(T arg) { } public void caller1() { doIt(new Object()); } public void caller2() { doIt(new Runnable() { public void run() { } }); } } Reproducible: Always