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.
Created attachment 155511 [details] This is the situation after undo. Product Version: NetBeans IDE Dev (Build 201508200002) Java: 1.8.0_60-ea; Java HotSpot(TM) 64-Bit Server VM 25.60-b23 Runtime: Java(TM) SE Runtime Environment 1.8.0_60-ea-b25 System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb) --Use Case-- 1. Start the IDE with clear userdir 2. Create sample AnagramGame project 3. Open Project view and from context menu select View Java Packages as: Tree or Reduced Tree 4. Right click on package 'ui' and Refactor|Rename it 5. Once package is renamed hit 'Undo' --Actual result-- The error message is shown, saying: 'Cannot Undo' 'Following files were modified:' '[../Anagrams.java]' '[../About.java]' The package is correctly renamed back to 'ui'. However two above files are not updated and contain still bad package statement. What is more the error badge is not displayed for the file neither for package or project. The issue is not reproducible when viewing java packages as list.
*** This bug has been marked as a duplicate of bug 215264 ***