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

Summary: "Cannot perform instant rename' after converting anonymous to inner
Product: java Reporter: Jiri Prox <jiriprox>
Component: HintsAssignee: Jan Lahoda <jlahoda>
Status: RESOLVED WONTFIX    
Severity: blocker    
Priority: P4    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

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