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.
I am not sure if this is a refactor bug, or something else. Please change as needed. If I have a file: NameA.java In there, there's 2 classes in this order: class NameB{ } public class NameA{ } Copy file NameA, and paste to a same folder, it would be: NameA_1.java When open NameA_1.java, the class NameB was renamed to NameA_1, while NameA is still the same.
I am able to reproduce this with the current trunk build. Honzo, please look at it.
Checking in JavaDataObject.java; /cvs/java/src/org/netbeans/modules/java/JavaDataObject.java,v <-- JavaDataObject.java new revision: 1.198; previous revision: 1.197 done