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 230301 - "Rename class" breaks code
Summary: "Rename class" breaks code
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 7.4
Hardware: PC All
: P2 normal (vote)
Assignee: petrk
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2013-05-27 07:56 UTC by soldatov
Modified: 2013-05-29 02:05 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 soldatov 2013-05-27 07:56:10 UTC
Scenario:
- create Quote
- open module.h
- call Refactor|Rename... on "class Module"
- type NewName
- press Refactor button
- rebuild project
==> build fails

CC    -c -g +w -o build/Debug/OracleSolarisStudio-Solaris-x86/cpu.o cpu.cc
"module.h", line 44: Error: Constructors may not be virtual.
"module.h", line 44: Error: Multiple declaration for NewName::NewName().
2 Error(s) detected.
Comment 2 Quality Engineering 2013-05-29 02:05:40 UTC
Integrated into 'main-golden', will be available in build *201305282301* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/f967ca4f1f52
User: Petr Kudryavtsev <petrk@netbeans.org>
Log: Fixed #230301 - "Rename class" breaks code