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.
Take the following lambda expression within a filter: .filter(m -> { return true; } ) This is only to serve a point that if you type the following: .filter(m -> { return true^) where (^) represents the current cursor position ')' was inserted by the IDE automatically. If you now type ';' you end up with the following: .filter(m -> { return true);^ Where ^ represents the new cursor position.
reproducible
Fixed in jet-main. http://hg.netbeans.org/jet-main/rev/84d5bf7d1920
Integrated into 'main-silver', will be available in build *201402190001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/84d5bf7d1920 User: Dusan Balek <dbalek@netbeans.org> Log: Issue #241298: It's not possible to enter a semicolon within a lambda body if it's on one line - fixed.