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 205682

Summary: Refactor does not refactor annotations or the location of the bundle file
Product: guibuilder Reporter: bubergeson <bubergeson>
Component: CodeAssignee: issues@guibuilder <issues>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 7.1   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

Description bubergeson 2011-11-30 01:07:00 UTC
Product Version = NetBeans IDE 7.1 Beta (Build 201109252201)
Operating System = Windows XP version 5.1 running on x86
Java; VM; Vendor = 1.7.0
Runtime = Java HotSpot(TM) Client VM 21.0-b17

I create an action within a package.  Afterwards I decide to change the name of the action class so I rename it using refactor.  The Refactor does not update the annotations of that class with the name.

If I move a topComponent using refactor to a different package, having first moved the file to that target package, the code produced by the gui builder does not get updated to point to the correct bundles file that should be in the same new package as the topComponent.