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.
How to reproduce. 1. Create a new C++ class using wizard (Header and implementation file with contructor, destructor and copy-contructor) 2. From the header file, right click on the class name in the editor and choose Refactor -> Rename 3. Now the class name is renamed in both header and implementation (and other usages), BUT if you go to the implementation file you will notice that the destructor has lost its ~ (and making it into a contructor instead). Expected behavior The refactor operation should not remove the ~ in the destructor. Product Version = NetBeans IDE Dev (Build 201012060001) Operating System = Mac OS X version 10.6.5 running on x86_64 Java; VM; Vendor = 1.6.0_22 Runtime = Java HotSpot(TM) 64-Bit Server VM 17.1-b03-307
fixed: http://hg.netbeans.org/cnd-main?cmd=changeset;node=4a86576e7b7a
Integrated into 'main-golden', will be available in build *201012070001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/4a86576e7b7a User: Vladimir Voskresensky <vv159170@netbeans.org> Log: fixed #192905 - Refactor class name in C++ breaks destructor