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 new java project with simple ClassA: public class ClassA { } 2. Right click ClassA in editor > Refactor > Introduce > Local extension... 3. Enter new package and perform refactor - new class is created 4. Select Project node and press Undo >> class is deleted, but empty package still remains in project (more ando does not work) Product Version: NetBeans IDE Dev (Build 201308202300) Java: 1.7.0_40; Java HotSpot(TM) 64-Bit Server VM 24.0-b55 Runtime: Java(TM) SE Runtime Environment 1.7.0_40-b39 System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
Created attachment 138997 [details] 01_New_Project
Created attachment 138998 [details] 02_Introduce_Local_Extension
Created attachment 138999 [details] 03_Created_Class
Created attachment 139000 [details] 04_Package_Remains
Reproduced. Reassigning to java/refactoring for further evaluation.
*** Bug 240066 has been marked as a duplicate of this bug. ***
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss