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 - Undo after Convert Anonymous to Inner doesn't revert Instant Rename mode
Summary: Undo after Convert Anonymous to Inner doesn't revert Instant Rename mode
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P4 blocker (vote)
Assignee: Jan Lahoda
URL:
Keywords:
: 118736 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-08-16 21:38 UTC by matthies
Modified: 2009-11-02 11:02 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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