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 187772

Summary: Attribute renaming warning: Cannot refactor library class "javafx.scene.Scene"
Product: javafx Reporter: Alexandr Scherbatiy <sunflower>
Component: UnsupportedAssignee: J Bachorik <yardus>
Status: VERIFIED DUPLICATE    
Severity: normal    
Priority: P3    
Version: 7.0   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 173077    

Description Alexandr Scherbatiy 2010-06-18 08:41:35 UTC
Product Version         = NetBeans IDE Dev (Build 201006180001) (#7c478dd3832c)
  Operating System        = Windows XP version 5.1 running on x86
  Java; VM; Vendor        = 1.6.0_20; Java HotSpot(TM) Client VM 16.3-b01; Sun Microsystems Inc.


Steps to reproduce:

- Create A JavaFX class:
-----------  A.fx ------------
package javafxapplication4;

public class A {
    public var a:String;
}
------------------------------

- Create Main JavaFX file:
-----------  Main.fx ---------
import javafx.stage.Stage;
import javafx.scene.Scene;


var v= A{
    a: ""   // <- Rename 'a' attribute
}


Stage {
    title: "Application title"
    scene: Scene {
    }
}
------------------------------

- Refactor->rename the 'a' attribute in the A{} object literal for 'v' variable

'Cannot refactor library class "javafx.stage.Stage".' message is shown
Comment 1 J Bachorik 2010-06-21 09:32:30 UTC
Same root cause

*** This bug has been marked as a duplicate of bug 187027 ***
Comment 2 Marian Mirilovic 2010-06-23 12:21:37 UTC
duplicate - removing 6.9.1_CANDIDATE
Comment 3 Alexandr Scherbatiy 2010-06-23 14:25:09 UTC
verified