Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 105942

Summary: [1.5][search] search for method declaration does not find overriding with non-matching type variable name
Product: [Eclipse Project] JDT Reporter: Markus Keller <markus.kell.r>
Component: CoreAssignee: JDT-Core-Inbox <jdt-core-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P5 CC: bmiller
Version: 3.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard: stalebug

Description Markus Keller CLA 2005-08-03 12:19:22 EDT
M20050727-1200

Search for method declaration Base.m(T) does not find the overriding method
Overriding.m(O). The problem seems to be that the method type parameters have
different names. Works fine for foo().

class Base {
	void foo() { }
	<T> void m(T t) { }
}

public class Overriding extends Base {
	@Override
	void foo() { }
	@Override
	<O> void m(O t) { }
}
Comment 1 Frederic Fusier CLA 2009-06-25 11:58:44 EDT
Set as P5 bugs which have be unchanged for more than 2 years...
Comment 2 Eclipse Genie CLA 2020-01-27 01:43:06 EST
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. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. 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.