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.
Refactor copy names the class and subcomponents wrongly. I had a class like this... public class RecordGen_OSCCTP_R5 extends AbstractPMRecordGenerator { public RecordGen_OSCCTP_R5(Vector moObjectList, long dtStartTime, int iNumberOfIntervals, boolean is24H, boolean generateAllValidBucket, boolean generateMissingBucket) { . . . When I copy and paste this file, the suggested name is RecordGen_OSCCTP_R51. I changed the suggested name to RecordGen_OSCCTP_R3. Now even though the file is named correctly as RecordGen_OSCCTP_R3.java, class is renamed to RecordGen_OSCCTP_R5_1.. Please fix this.
I can reproduce it only when "copy without refactoring" is checked. To get class name renamed correctly, perform copy with refactoring. This is similar to issue 127385 *** This issue has been marked as a duplicate of 127385 ***