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 172147 - [Refactoring] renaming function argument renames function name
Summary: [Refactoring] renaming function argument renames function name
Alias: None
Product: javafx
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: J Bachorik
Depends on: 172472
Blocks: 173077
  Show dependency tree
Reported: 2009-09-14 10:12 UTC by Alexandr Scherbatiy
Modified: 2009-10-02 10:20 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description Alexandr Scherbatiy 2009-09-14 10:12:33 UTC 

  Product Version         = NetBeans IDE Dev (Build 200909132344) (#a16a818453db)
  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.

Steps to  reproduce:
- Copy the code to the editor:
function sqr (x:Number) { x * x  }

- Select 'x' argument and rename it it 'y'

The result is:
function y (x:Number) { x * x  }
 The function name is changed instead of the argument name
Comment 1 J Bachorik 2009-09-15 10:59:12 UTC
This is supposed to be fixed by
Comment 2 Alexandr Scherbatiy 2009-09-21 09:16:35 UTC
Blocked by issue 172472 NullPointerException at org.netbeans.modules.refactoring.spi.impl.ParametersPanel.showDialog
Comment 3 Alexandr Scherbatiy 2009-09-29 10:33:06 UTC
The issue is still reproduced in build 
Comment 4 J Bachorik 2009-09-30 12:56:38 UTC
fixed in
Comment 5 Alexandr Scherbatiy 2009-10-02 10:20:01 UTC
verified in