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 121871 - [Change parameters] Anonymous class is not updated when adding parameter to constructor
Summary: [Change parameters] Anonymous class is not updated when adding parameter to ...
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: issues@java
URL:
Keywords:
: 134545 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-11-14 10:19 UTC by Jiri Prox
Modified: 2009-11-02 11:16 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 10:19:01 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)
Userdir: /home/jp159440/.netbeans/6.0rc1


Anonymous class is not updated when parameter is added to constructor.

Steps to reproduce:
1) have two classes:
public class NewClass {

    public NewClass() {
    }
    
}

and 
public class NewClass2 {
    
    
    NewClass c;
    public void m() {
        c = new NewClass() {
            
        };
        
    }

}


2) add parameter to constructor of NewClass

-> anonymous class declaration in NewClass2 is not updated
Comment 1 Jan Becicka 2007-12-14 15:15:36 UTC
P4 imo
Comment 2 Jiri Prox 2008-05-06 09:51:26 UTC
*** Issue 134545 has been marked as a duplicate of this issue. ***
Comment 3 David Strupl 2009-03-31 15:54:30 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:16:07 UTC
NetBeans.org Migration: changing resolution from LATER to WONTFIX