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 173760 - Refactoring does not rename the name in the Sequence Select clause
Summary: Refactoring does not rename the name in the Sequence Select clause
Status: VERIFIED FIXED
Alias: None
Product: javafx
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: J Bachorik
URL: http://javafx-jira.kenai.com/browse/J...
Keywords:
Depends on:
Blocks: 172477 173077
  Show dependency tree
 
Reported: 2009-10-05 14:31 UTC by Alexandr Scherbatiy
Modified: 2009-11-17 07:42 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandr Scherbatiy 2009-10-05 14:31:26 UTC
Steps to reproduce:

- Copy the code to the editor:
-------------------------------------
var seq = [ 1,2,3,4,5];

var subseq = seq[ n | n < 3];
-------------------------------------

- Select the 'n' in the 'seq[ n | n < 3]' expression, right-click and select Refactor->Rename

 The Rename dialog shows 'subseq' name not 'n'
Comment 1 Alexandr Scherbatiy 2009-10-05 14:31:46 UTC
Product Version         = NetBeans IDE Dev (Build 200910030241) (#4dd420d82eea)
Operating System        = Windows XP version 5.1 running on x86
Java; VM; Vendor        = 1.6.0_15; Java HotSpot(TM) Client VM 14.1-b02; Sun Microsystems Inc.
Comment 2 J Bachorik 2009-10-05 16:11:53 UTC
javafxc reports the positions of the selector variable totally wrong - see http://javafx-jira.kenai.com/browse/JFXC-3525
The javafxc issue blocks further progress on this issue.
Comment 3 J Bachorik 2009-11-09 03:54:30 UTC
fixed by using updated compiler binaries - http://hg.netbeans.org/javafx/rev/b3afe707e460
Comment 4 Alexandr Scherbatiy 2009-11-17 07:42:29 UTC
verified in Build 200911170201

However the issue 176999 pops up when editing the variable name in the Rename dialog