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 172154

Summary: [Refactoring] Attribute renaming is not propagated to source
Product: javafx Reporter: Alexandr Scherbatiy <sunflower>
Component: UnsupportedAssignee: J Bachorik <yardus>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 173077    

Description Alexandr Scherbatiy 2009-09-14 10:50:43 UTC
netbeans-trunk-nightly-200909132344-javafx-full.zip 

  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:
-----------------------------------------------
public class A {

    public var a:Number;

    function f():Number {
        return a;
    }

}
-----------------------------------------------
- Rename the 'a' attribute to 'b'
- Build the code


A.fx:18: cannot find symbol
symbol  : variable a
location: class javafxapplication3.A
        return a;
1 error
Comment 1 J Bachorik 2009-09-25 09:12:56 UTC
seems to be fixed as a side-effect of http://hg.netbeans.org/javafx/rev/dce2fce5385a
Comment 2 Alexandr Scherbatiy 2009-09-29 10:39:51 UTC
verified in netbeans-6.8beta-200909281634-javafx-full.zip