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.
Rename refactoring can lead to infinite recursion: public interface A { void a(); } public final class B { private void b() { } private final class Inner implements A { @Override public void a() { b(); } } } When renaming A#a() to A#b(), Inner#a() will be renamed to Inner#b(). Now instead of calling B#b(), Inner#b() calls itself and loops infinitely. Rename refactoring should check non static inner classes for infinite recursion and change method calls to the outer class: private final class Inner implements A { @Override public void b() { B.this.b(); } } Until that change, it is strongly recommended, to use "Source > Inspect > Single Inspection: Infinite Recursion" after each rename refactoring.
*** This bug has been marked as a duplicate of bug 99421 ***