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.
If the constructor contains creation of anonymous class like the following code (taken from constructor of examples.advanced.MemoryView) and user renames the class by clicking at its name in the Exp lorer, the constructor`s body gets corrupted. No exception is thrown. After the action, Undo in the affected code behaves strangely. (must undo 3 times to revert the editing action, after first Undo, the edit window is scrolled so the first column of text is hidden) code example: timer = new Timer (UPDATE_TIME, new ActionListener () { public void actionPerformed (ActionEvent ev) { updateStatus (); } }); [ observed on examples.advanced.MemoryView and examples.texteditor.Ted when the fragment was copied in. ]
Priority is changed to P4 (normal).
It works fine now, closed