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. Create a new Swing application framework project using the wizard. This creates a file with a name like desktopapplication1.DesktopApplication. 2. perform a rename refactoring on the *package* to change it to com.example.foo 3. Notice the code is broken. The specific problem seems to be that a class literal of the form desktopapplication1.DesktopApplication.class appears in the unmodifiable section of code generated from the user interface form and the refactoring does not change this. The problem does not occur with non-UI code. I.e. usually the package rename refactoring does update class literals.
Yes, this is known problem. The refactoring should be integrated with UI code. Thanks for your report anyway. *** This issue has been marked as a duplicate of 48288 ***