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.
Build 200703271800 Rename Type A to B should return a warning when another type named B is referenced in A.java Steps to reproduce: Rename Type A to B in the following: class A{ } class X{ class B{ } A a; } yields the following refactored class: package p; class B{ } class X{ class B{ } B a; } Note: The same problem occurs when there is a field or a parameter or a local variable or a return type or a throws statement or another expression statement including type A in class X.
The same issue as 100302 *** This issue has been marked as a duplicate of 100302 ***