Bug 79311 - [1.5] Search engine does not find types referenced by methods with generic argument types
Summary: [1.5] Search engine does not find types referenced by methods with generic ar...
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: 3.1 M4   Edit
Assignee: Frederic Fusier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-23 12:12 EST by Tobias Widmer CLA
Modified: 2004-12-06 04:42 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Widmer CLA 2004-11-23 12:12:56 EST
200411170800:

Steps to reproduce:
- Create class A<T>
package p;
class A<T>{	
	void x(){}
}
- Create class B<T>
package p;
import java.util.List;
class B<T> extends A<T>{
	protected void m(List<T> l){}
}
- Invoke pull-up on m
->No import is generated for java.util.List, since 
SearchEngine#searchDeclarationsOfReferencedTypes(IJavaElement, 
SearchRequestor, IProgressMonitor) does not return a match
Comment 1 Frederic Fusier CLA 2004-11-23 12:31:48 EST

*** This bug has been marked as a duplicate of 75642 ***
Comment 2 Frederic Fusier CLA 2004-12-05 08:59:15 EST
Not a duplicate as it works with build I200412011139.
Comment 3 Frederic Fusier CLA 2004-12-05 09:03:45 EST
Tobias,
I'll set it as FIXED because I succeeded to pull-up m method using build
I200412011139. Unfortunately, I haven't any idea what is the exact change which
fixed this problem...
Please verify and confirm that it has been really fixed in last integration build.
Thanks
Comment 4 Tobias Widmer CLA 2004-12-06 04:42:22 EST
Verified