Project: JDT
Bug 86644 infer type args: incorrect with method type params used as type args
Reported: 2005-02-25 11:04:54 | Status: resolved fixed

3.1M5a public class Cell{ public <T> T f1(T l){ Vector v= new Vector(); v.add(l); return (T)v.get(0); } } it infers: public class Cell{ public <T> T f1(T l){ Vector<Cell> v= new Vector<Cell>(); v.add(l); return v.get(0); } } (fyi: i'm working on 'our' side of this problem)

Files changed in fix:
org.eclipse.jdt.ui.tests.refactoring/resources/InferTypeArguments/testCuInferTypeVariable01/in/A.java org.eclipse.jdt.ui.tests.refactoring/resources/InferTypeArguments/testCuInferTypeVariable01/out/A.java org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/InferTypeArgumentsTests.java