Project: JDT
Bug 77620 Move inner: doesn't update instance creation to reflect new type parameters [refactoring] [move inner]
Reported: 2004-11-03 09:23:46 | Status: resolved fixed

M3 test candidate public class A<T> { class Inner<X> { public void foo() { T t= null; X x= null; bar(); } } void bar() { Inner inner= new Inner<Long>(); } } - move Inner to new file Observe: Inner now has correctly two type parameters. Hoewever the instance creation new Inner<Long>() isn't updated resulting in non compilable code.

Files changed in fix:
org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ConstructorReferenceFinder.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveInnerToTopRefactoring.java