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.

Bug 113042

Summary: Undo after Convert Anonymous to Inner doesn't revert Instant Rename mode
Product: java Reporter: matthies <matthies>
Component: HintsAssignee: Jan Lahoda <jlahoda>
Status: RESOLVED WONTFIX    
Severity: blocker    
Priority: P4    
Version: 6.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

Description matthies 2007-08-16 21:38:16 UTC
1. Apply Convert Anonymous to Inner to the Foo instantiation in the following class:

    public class Test
    {
        class Foo { Foo(int n) { } }

        { new Foo(5) { }; }
    }

-> The three occurrences of "FooImpl" are highlighted for Instant Rename

2. Perform Undo (Ctrl+Z) once.

-> Convert Anonymous to Inner is undone, but the Instant Rename highlights remain, ending up in the locations denoted 
by "»...«" in "{ new »Foo«(5) »«{ »};« }".

Expected behavior: Instant Rename should revert to the previous state.
Comment 1 Jan Lahoda 2007-10-12 18:19:27 UTC
*** Issue 118736 has been marked as a duplicate of this issue. ***
Comment 2 Jan Lahoda 2007-10-29 13:23:46 UTC
No time for this for NB6.0.
Comment 3 David Strupl 2009-03-31 16:01:05 UTC
Resolving all issues with milestone "future" as LATER. If you feel strongly that
it should be implemented please reopen and set the target milestone to "next".
Comment 4 Quality Engineering 2009-11-02 11:02:39 UTC
NetBeans.org Migration: changing resolution from LATER to WONTFIX