This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Build ID: Netbeans 6.0 M9 (070502) Steps To Reproduce: Pull up method m on the following: public class A { private Object theField; class B extends A { private void m(){ super.theField=null; } void m( Object newArg){ B.this.m(); } } } Yields the following refactored code: public class A { private Object theField; class B extends A { void m( Object newArg){ B.this.m(); } } private void m() { super.theField = null; } } The compilation errors are: - "m(Object) cannot be applied to m()" - "cannot find symbol: variable theField"
This is the same problem as 111563. Pullup does not handle references inside bodies at all. Current implementation is simply not smart enough. *** This issue has been marked as a duplicate of 111563 ***