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.
marina-netbeans-plugin: #228 Product Version = NetBeans IDE 6.7.1 (Build 200907202301) 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: ------------------------------------------------------- class B{} class A{ public function hello ():String { "Hello World!" } public function getB():B { return B{} } } ------------------------------------------------------- - Place the cursor on the return type of the hello function The only last bracket is highlighted - Place the cursor on the return type of the getB function The only last bracket is highlighted
One more sample: ---------------------------------------------- function min (x:Number, y:Number):Number { if( x < y ) then x else y } ----------------------------------------------
Yes, there is a bug in compiler I am waiting to be fixed for this issue: http://javafx-jira.kenai.com/browse/JFXC-3284
http://javafx-jira.kenai.com/browse/JFXC-3284 has been fixed, please verify
The issue is still reproduced in build NetBeans-JavaFX-Soma: #182 Mar 12, 2010 12:01:00 AM See the attached screenshot.
Created attachment 95079 [details] IDE screenshot
The highlighting of exit points does not work for functions like ---------------------------------------------- public function hello(): String { "Hello World!" } function min(x: Number, y: Number): Number { if (x < y) then x else y } ----------------------------------------------
fixed http://hg.netbeans.org/javafx/rev/979a87527079
verified in NetBeans IDE Dev (Build 201006160001)
Verified with NetBeans IDE 6.9.1 Dev (Build 201007052301)