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 180196 - Attribute is not refactored in String expression
Summary: Attribute is not refactored in String expression
Alias: None
Product: javafx
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P2 normal (vote)
Assignee: J Bachorik
Depends on:
Blocks: 173077
  Show dependency tree
Reported: 2010-02-03 03:46 UTC by Alexandr Scherbatiy
Modified: 2010-02-05 04:49 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 2010-02-03 03:46:07 UTC
NetBeans-JavaFX-Soma: #141

  Product Version         = NetBeans IDE Dev (Build 201001280200)
  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:

- Create 'A' JavaFX file:
public class A {
    public var pack:String;
    public var name:String;

    function code():String{""}

- Create 'B' JavaFX file:
public class B extends A{

- Create 'C' JavaFX file:
public class C extends B{

    override function code() {
          "class {name}\{\n\n"


- Go to the 'A' class
- Refactor->Rename the 'name' variable to 'name2'
- Build the project

C.fx:17: cannot find symbol
symbol  : variable name
location: class javafxapplication9.C
          "class {name}\{\n\n"

1 error
Comment 1 J Bachorik 2010-02-04 07:06:19 UTC
fixed in
Comment 2 Alexandr Scherbatiy 2010-02-05 04:49:38 UTC
verified in NetBeans-JavaFX-Soma: #143