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.
[200411091800; jdk1.5.0_01-b03] 1.Create projects PRJ1, PRJ2 2.Create class A in the package PRJ1 of PRJ1 3.Create class A in the package PRJ2 of PRJ2 4.Move PRJ2.A to PRJ1 5.Confirm refactoring dialogs 6.Explorer shows class PRJ1.A.java twice but the name of the second one is physically on the disk named A_1.java
*** Issue 51390 has been marked as a duplicate of this issue. ***
*** This issue has been marked as a duplicate of 46657 ***
This doesn't seem to be the same issue as fixed 46657. I am able to reproduce this issue in dev build #200501191900 -> reopening.
For me, the explorer shows correctly A_1.java, but the refactoring renames the class inside the file from prj1.A to prj2.A, instead of prj2.A_1. So the problem is in refactoring.
I assume that J2SEProject is responsible for this. File nodes are not in sync. with file names.
Neither java project nor project system do not affect visualization of JavaDataObject.getDispalyName (). Both logical and files view are showing DataObjects.
I don't know what is wrong. Anyway I cannot reproduce it.
Verified - I am not able to reproduce it now.