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.
JavaFX_NB_Plugin_NB65_promoted: #48 2008-10-23_03-01-09.zip Product Version = NetBeans IDE 6.5 RC1 (Build 200810171318) Operating System = Windows XP version 5.1 running on x86 Java; VM; Vendor = 1.5.0_09; Java HotSpot(TM) Client VM 1.5.0_09-b03; Sun Microsystems Inc. Steps to reproduce: - Copy the code to the editor: ---------------------------------------------------- import javafx.scene.shape.Polygon; Polygon{ str } ---------------------------------------------------- - Position cursor after 'str' and press <Ctrl+Space> - Select stroke from the list The result is ---------------------------------------------------- import javafx.scene.shape.Polygon; Polygon{ stroke: [] } ---------------------------------------------------- JavaFXApplication3\src\javafxapplication3\Main.fx:12: array required, but javafx.scene.paint.Paint found stroke: [] 1 error BUILD FAILED (total time: 2 seconds)
One more example: ------------------------------------------ class A{ public var nums: Number[]; public var num: Number; } var a = A{ } ------------------------------------------ - Go to 'A{}', type 'nu', press <Ctrl+Space> and select 'num ------------------------------------------ var a = A{ num: [] }' ------------------------------------------ JavaFXApplication3\src\javafxapplication3\Main.fx:15: array required, but double found num: [] 1 error
Regression caused by the fix for http://www.netbeans.org/issues/show_bug.cgi?id=122854 changeset http://hg.netbeans.org/javafx/rev/d44678b04911
Fixed by changeset 1612:25dd1db6c9a1
verified in the promoted build 2008-10-24_03-01-09.zip