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.
[200407270649], jdk1.4.2_4 & 1.5.0 -start ide with fresh userdir, create new java project with main class -create a new package in Source packages -Cut the Main.java class and try paste it to the new package *class is cut&pasted and 'Refactor Code for Moved class' dialog appears BUT after 'Finish' it ends on fatal error 'Class "Main" already exists in the target package'
Regression - I am sure it worked previously!
you're right Marek, it's regression and according to http://qa.netbeans.org/processes/bug_priority_guidelines.html I'm increasing priority to P1
Checking in MoveClassRefactoring.java; /cvs/refactoring/src/org/netbeans/modules/refactoring/api/MoveClassRefactoring.java,v <-- MoveClassRefactoring.java new revision: 1.17; previous revision: 1.16 done
[200407271830] - verified, thanks Honza.