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.
Product Version = NetBeans IDE 8.2 (Build 201609300101) Operating System = Windows 10 version 10.0 running on amd64 Java; VM; Vendor = 1.8.0_102 Runtime = Java HotSpot(TM) 64-Bit Server VM 25.102-b14 Reproducibility: Happens every time STEPS: * I have a public String array in a Groovy class, "GClass: public static final String[] EMPTY_NAMES = [ ]; * Use refactor - Rename to change to: public static final String[] EMPTY_STRINGS = [ ]; * Press Enter -- rename happens ACTUAL: Some Groovy and Java classes using these public data members stil have the old name so that an instance of GClass gClass; gClass.EMPTy_NAME; is stil in the client-code and hasn't been renamed EXPECTED: Either work correctly as I'd see with a Java class, OR Show a refactoring preview dialog.
Created attachment 162653 [details] IDE log