Project: JDT
Bug 167570 [quick assist] Convert local variable to field misses references
Reported: 2006-12-12 05:45:19 | Status: verified fixed

I20061212-0010 Have: public class Bug { void foo() { Bug i = new Bug(); i.foo(); } } Use the 'Convert local variable to field' quick assist on i (after 'Bug i') ==> the 'i' on 'i.foo()' is not linked and hence not updated.

Files changed in fix:
org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/PromoteTempToFieldRefactoring.java