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 121912 - "Cannot perform instant rename' after converting anonymous to inner
Summary: "Cannot perform instant rename' after converting anonymous to inner
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: Jan Lahoda
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-14 14:35 UTC by Jiri Prox
Modified: 2009-12-21 06:44 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 Jiri Prox 2007-11-14 14:35:45 UTC
Product Version: NetBeans IDE 6.0 RC1 (Build 200711140000)
Java: 1.6.0_05-ea; Java HotSpot(TM) Client VM 1.6.0_05-ea-b06
System: Linux version 2.6.5-1.358 running on i386; UTF-8; en_US (nb)

'Cannot perform instant rename here' is show after converting anonymous to inner.


Steps to reproduce:
1) have a code: 
public class ClassD {
    
    public void method() {
        new AbstractClass("",26) {
            public String getInfo() {
                return "";
            }
        };
    }   
}

2) invoke Convert Anonymous to Inner hint on it
-> inner class is introduce, but instant rename is not activated
Comment 1 Quality Engineering 2009-12-21 06:44:55 UTC
This bug was reported against NetBeans IDE 6.0 or an older release, or against a non-maintained module. NetBeans team does not have enough resources to get to this issue, therefore we are closing the issue as a WONTFIX. If you are interested in providing a patch for this bug, please see our NetFIX guidelines for how to proceed. 

We apologize for any inconvenience.


Thank you.
The NetBeans Team