Project: JDT
Bug 95135 [refactoring] NPE from convert anonymous to nested inside enum
Reported: 2005-05-13 11:24:28 | Status: verified fixed

Against I20050513-0010 Code: public enum CopyOfHelperType { SETUP, TEARDOWN; public void invokeTheAnnotation() { new Object() { void invoke() { } }.invoke(); } } Try to convert the anonymous object to nested. On every keystroke when entering the new name, an NPE (below) is logged in the error log, and the OK button is never enabled

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