Bug 87050

Summary: ASTParser#createASTs(..) cannot resolve method type parameter binding from key
Product: [Eclipse Project] JDT Reporter: Markus Keller <markus.kell.r>
Component: CoreAssignee: Jerome Lanneluc <jerome_lanneluc>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.1   
Target Milestone: 3.1 M6   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on:    
Bug Blocks: 86644    

Description Markus Keller CLA 2005-03-03 03:14:31 EST
HEAD

ASTParser#createASTs(..) cannot resolve method type parameter binding from key:

package p;
public class Cell {
	public <T> void f1(T l) { }
}

The binding key for T is
Lp/Cell;.f1<T:Ljava/lang/Object;>(TT;)V:TT;

The resolved binding for this key is the binding of the enclosing type p.Cell,
whose key is
Lp/Cell;
Comment 1 Jerome Lanneluc CLA 2005-03-08 06:30:13 EST
Added support in BindingKeyParser#parse(boolean) and
BindingKeyResolver#consumeTypeVariable(char[]) to handle type variables from
methods.
Added regression test BatchASTCreationTests#test058()
Comment 2 David Audel CLA 2005-03-31 05:23:59 EST
Verified in I20050330-0500