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.
1) I copied "MyClass.java" from my Netbeans project called "project2" using the Files Window and right-clicking the mouse and choosing "Copy" . 2) I deleted "MyClass.java" from my Netbeans project called "project1" using the Files Window and right-clicking the mouse and choosing "Delete" . 3) I placed mouse pointer over folder in "project1" that used to contain "MyClass.java" before I deleted it. I then right-clicked and chose "Paste". This sequence should have simply replaced one file with another of the same name, which it did. However, the classname inside the file itself was changed to "java". In other words, in the class declaration and constructors, the string "MyClass" was replaced with the string "java".
It works for me on NB 5.0 - FCS build , JDK 1.5.0_06, Linux
Comments from reporter: I'm using the following: NetBeans 5.0 RC2 (Build 200601172200) Fedora Core 4 Linux Java 1.5.0_06 Java Home: /opt/jdk1.5.0_06/jre ------------------------------
I'm sorry I cannot reproduce. Please reopen if you are still able to reproduce it.