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.
When moving a class to the default package the refactored source code begins with "package ;". Which results in a compilation error. -------------------------------------------------------------------------------- package ; <= compilation error import javafx.scene.CustomNode; import javafx.scene.Node; import javafx.scene.text.Text; import javafx.scene.Group; class Test extends CustomNode { override protected function create () : Node { Text { content: "testing..." } } } def test:Node = Test{}; def isGroup = test instanceof Group; -------------------------------------------------------------------------------- Product Version: NetBeans IDE 6.8 (Build 200912041610) Java: 1.6.0_17; Java HotSpot(TM) 64-Bit Server VM 14.3-b01 System: Linux version 2.6.31-16-generic running on amd64; UTF-8; en_US (nb)
1, increasing priority and marking as patch1 candidate 2, added test case for this bug - http://wiki.netbeans.org/TS_68_JavaFX_Refactoring#Package
fixed in trunk - http://hg.netbeans.org/javafx/rev/1f3c230ad13c
verified in NetBeans-JavaFX-Soma: #93
The fix has been ported to branch release68_fixes http://hg.netbeans.org/javafx/rev/b3c0f8e1b977
I've reverted the changeset http://hg.netbeans.org/javafx/rev/b3c0f8e1b977 due to it's dependency on TreePathHandle -> ElementLocation refactoring (revert committed as http://hg.netbeans.org/javafx/rev/fc47f85ea3c7). New version of the change has been committed in release68_fixes branch as a changeset shared with a fix for issue 176894 http://hg.netbeans.org/javafx/rev/4a484aa724db
Verified in NB 6.8 patch1 2010-01-26_05-22-22