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 - Attribute renaming warning: Cannot refactor library class "javafx.scene.Scene"
Summary: Attribute renaming warning: Cannot refactor library class "javafx.scene.Scene"
Status: VERIFIED DUPLICATE of bug 187027
Alias: None
Product: javafx
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 7.0
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: J Bachorik
Depends on:
Blocks: 173077
  Show dependency tree
Reported: 2010-06-18 08:41 UTC by Alexandr Scherbatiy
Modified: 2010-06-23 14:25 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-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