Bug 83818 - [1.5][search] Search does not find references to overriding method with different signature
Summary: [1.5][search] Search does not find references to overriding method with diffe...
Status: RESOLVED DUPLICATE of bug 79990
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Frederic Fusier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-27 06:52 EST by Markus Keller CLA
Modified: 2005-04-15 04:06 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Keller CLA 2005-01-27 06:52:08 EST
I20050126-0800

In the code below, search for references to X#generic(T). Only the first two
references are found. Probably depends on bug 79990.

Search currently finds all references when either
- the method Y#generic(Number) is commented out, or
- the method X#generic(T) is changed to take an argument of type Number

class X<T> {
    public void generic(T t) {}
}
class Y extends X<Number> {
    public void generic(Number t) {}
}

class Z {
	void test(Number n) {
		new X<String>().generic("");
		new X<Integer>().generic(1);
		new Y().generic(12);
		new Y().generic(n);
	}
}
Comment 1 Frederic Fusier CLA 2005-02-28 11:11:59 EST
More than related...

*** This bug has been marked as a duplicate of 79990 ***