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.
Java Refactoring Sanity test (http://services.netbeans.org/synergy/client/app/#/specification/316/v/2) Delete Test suite (http://services.netbeans.org/synergy/client/app/#/suite/1798) Delete Project Test case (http://services.netbeans.org/synergy/client/app/#/case/5128/suite/1798/v/1) Steps to reproduce 1. Select package and from context menu choose Refactor->Safely Delete 2. In the dialog press Refactor 3. Inspect the warning dialog Expected Result The message in the warning dialog should read "Overriding or implementing methods of selected elements were found." Actual Result The message in the warning dialog reads - "References to selected elements were found. Remove all references to these elements in order to safely delete your class."
Change was introduced by #171662 in NetBeans 8.1 The previous warning was wrong, there is only one usage in supertype.ClassB which is relevant.
Test specification was updated