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 173243 - [Refactoring] Attribute renaming is not propagated to code
Summary: [Refactoring] Attribute renaming is not propagated to code
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:
Keywords:
Depends on:
Blocks: 173077
  Show dependency tree
 
Reported: 2009-09-29 10:38 UTC by Alexandr Scherbatiy
Modified: 2009-10-05 11:03 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-09-29 10:38:29 UTC
Steps to reproduce:

- Copy the code to the editor:
-----------------------------------------------
class A {
    public var name: String;

}

var a = A{
    name: "Hello World"
};

println("name: {a.name}");
-----------------------------------------------
- Rename the 'name' attribute to 'name2'
- Build the code


Main.fx:15: cannot find symbol
symbol  : variable name
location: class javafxapplication3.Main.A
    name: "Hello World"
Main.fx:18: cannot find symbol
symbol  : variable name
location: class javafxapplication3.Main.A
println("name: {a.name}");
2 errors
Comment 1 Alexandr Scherbatiy 2009-09-29 10:40:22 UTC
Build netbeans-6.8beta-200909281634-javafx-full.zip 

  Product Version         = NetBeans IDE 6.8 Beta (Build 200909281634) (#066b555e5ecf)
  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-02 13:24:36 UTC
fixed in http://hg.netbeans.org/javafx/rev/0132b76a8d5e
Comment 3 Alexandr Scherbatiy 2009-10-05 11:03:53 UTC
verified in netbeans-trunk-nightly-200910030241-javafx-full.zip