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.
Product Version = NetBeans IDE Dev (Build 200911160201) (#aa08ab571103) 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' package - Create 'A' JavaFX class under the 'a' package ------------------------------ package a; public class A {} ------------------------------ - Create 'B' JavaFX class under the 'a' package ------------------------------ package a; public class B { public var a:A; } ------------------------------ - Create 'b' package - Move the 'B' class to the 'b' package - Build the project JavaFXApplication1\src\b\B.fx:10: cannot find symbol symbol : class A location: class b.B public var a:A; 1 error
Fixed in trunk - http://hg.netbeans.org/javafx/rev/62f2a6f45e43
Please verify on trunk builds. Due to significant amount of code changed between FCS and a fix for issue 179218, I've ported a bugfix for this issue to branch release68_fixes too. http://hg.netbeans.org/javafx/rev/4a484aa724db
Verified in netbeans-6.8-201001241915-javafx-full.zip from /builds/netbeans/6.8/fixes
NetBeans-JavaFX-Soma: #126 Now I see the following behavior: - 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
I can not reproduce it as of time of changeset http://hg.netbeans.org/javafx/rev/aeedcd8eec48
Verified in NetBeans-JavaFX-Soma: #140 Create a separate issue 180134 for the incorrect import inserting.