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 IDE 6.9 Beta Product Version = NetBeans IDE 6.9 Beta (Build 201004142028) (#b0fcf3f1c0b5) 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: - Copy the code to the editor: ------------------------------------------------- import javafx.scene.Node; import javafx.scene.shape.Circle; import javafx.scene.paint.Color; class A { public var shape: Node[] = [ Circle { centerX: 100, centerY: 100 radius: 40 fill: Color.BLACK } ]; } class B extends A { override var shape = [ Circle { centerX: 100, centerY: 100 radius: 40 fill: Color.BLACK } ]; } ------------------------------------------------- - Format the code The result is: ------------------------------------------------- class B extends A { override var shape = [ Circle { centerX: 100, centerY: 100 radius: 40 fill: Color.BLACK } ]; } -------------------------------------------------
Compiler issue: http://javafx-jira.kenai.com/browse/JFXC-4294
fixed http://hg.netbeans.org/javafx/rev/9849f57777e4
verified in netbeans-trunk-nightly-201005260001-javafx-windows.exe
*** Bug 186457 has been marked as a duplicate of this bug. ***