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 173259 - Class renaming is not propagated to source
Summary: Class renaming is not propagated to source
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 12:28 UTC by Alexandr Scherbatiy
Modified: 2009-10-05 13:19 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 12:28:11 UTC
Build: NetBeans IDE 6.8 Beta (Build 200909281634)
VM: Java HotSpot(TM) Client VM, 14.1-b02, Java(TM) SE Runtime Environment, 1.6.0_15-b03
OS: Windows XP, 5.1, x86


Steps to reproduce:

- Copy the code to the editor:
-----------------------------------------------------
import javafx.scene.CustomNode;
import javafx.scene.Group;
import javafx.scene.Node;
import javafx.stage.Stage;
import javafx.scene.Scene;

class MyNode extends CustomNode {

	public override function create(): Node {
		return Group {
			content: []
		};
	}
}

Stage {
	title : "MyApp"
	scene: Scene {
		width: 200
		height: 200
		content: [ MyNode{}]
	}
}

-----------------------------------------------------

- Refactor-> Rename the  'MyNode' class to 'A'
- Build the code

Main.fx:29: cannot find symbol
symbol  : class MyNode
location: class javafxapplication8.Main
                content: [ MyNode{}]
                           ^
1 error
Comment 1 J Bachorik 2009-09-30 12:56:06 UTC
fixed in http://hg.netbeans.org/javafx/rev/808ffe3fa608
Comment 2 Alexandr Scherbatiy 2009-10-05 13:19:08 UTC
verified in netbeans-trunk-nightly-200910030241-javafx-full.zip