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.
NetBeans-JavaFX-Soma: #140 Product Version = NetBeans IDE Dev (Build 201001280200) (#eeef33500a1a) 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 project with the main File - Create 'A' JavaFX class under the existed package: ---------------------------------------------- package javafxapplication14; public class A { } ---------------------------------------------- - Create 'B' JavaFX class under the existed package: package javafxapplication14; public class B { public var a:A; } ---------------------------------------------- - Create 'b' package - Move the 'B' class to the 'b' package The result is: ---------------------------------------------- package b; public class B { import javafxapplication14.A; public var a:A; } ---------------------------------------------- JavaFXApplication14\src\b\B.fx:4: There is a garbled class member definition starting here, I have tried to ignore it. Class members can be 'var', 'def', 'function', 'init' or 'postinit' only. import javafxapplication14.A; 1 error
fixed by http://hg.netbeans.org/javafx/rev/28b65c9f3678
verified in NetBeans-JavaFX-Soma: #143