Community
Participate
Working Groups
Build ID: I20070608-1718 Steps To Reproduce: Pull up method m on the following: public class A { public Object theField; class B extends C { public void m(){ A.this.theField=null; } void mPrime(){ m(); } } } class C { public Object theField; } Yields the following refactored code: public class A { public Object theField; class B extends C { void mPrime() { m(); } } } class C { public Object theField; public void m() { A.this.theField = null; } } The compilation error is: "No enclosing instance of the type A is accesible in scope" More information:
Move to JDT/UI
*** Bug 319926 has been marked as a duplicate of this bug. ***
*** Bug 351383 has been marked as a duplicate of this bug. ***
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie.
Still an issue in 4.11 M3.