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.

Bug 268700 - Groovy refactor/rename incomplete
Summary: Groovy refactor/rename incomplete
Status: NEW
Alias: None
Product: ide
Classification: Unclassified
Component: Code (show other bugs)
Version: 8.2
Hardware: PC Windows 10
: P3 normal (vote)
Assignee: issues@ide
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-26 22:47 UTC by aplatypus
Modified: 2016-10-26 22:47 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (476.02 KB, text/plain)
2016-10-26 22:47 UTC, aplatypus
Details

Note You need to log in before you can comment on or make changes to this bug.
Description aplatypus 2016-10-26 22:47:33 UTC
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.
Comment 1 aplatypus 2016-10-26 22:47:40 UTC
Created attachment 162653 [details]
IDE log