Bug 58470

Summary: [1.5] Source mapper fooled by generics
Product: [Eclipse Project] JDT Reporter: Jerome Lanneluc <jerome_lanneluc>
Component: CoreAssignee: Jerome Lanneluc <jerome_lanneluc>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.0   
Target Milestone: 3.1 M1   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Jerome Lanneluc CLA 2004-04-14 10:10:50 EDT
I20040413

If you open the 1.5 type java.lang.Collections, the source mapper cannot 
retrieve the positions of the add(E) method. It looks like the binary method in 
the Java model is add(Object).
Comment 1 Philipe Mulet CLA 2004-04-14 10:46:36 EDT
We should address this in 1.5 stream only. If simple enough, then we may 
consider to backport it to HEAD stream to improve people's experience. But this 
feels very unlikely as it will drag in more support behind it.
Comment 2 Jerome Lanneluc CLA 2004-06-25 09:24:20 EDT
Changed SourceMapper.getUnqualifiedMethodHandle(...) to to handle generic 
parameter types.

Added regression tests AttachSourceTests.testGeneric1() and testGeneric2()