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.
Braces are not added when adding second parameter to lambda. Steps to reproduce: 1) have a code: @FunctionalInterface public interface Function { static Function idn = a -> a; String convert(String a); } 2) change method parameter of convert method, add parameter -> @FunctionalInterface public interface Function { static Function idn = a, par1 -> a; // here should be (a, par1) -> a String convert(String a, Object par1); } Product Version: NetBeans IDE 8.0 (Build 201403101706) Java: 1.8.0; Java HotSpot(TM) 64-Bit Server VM 25.0-b70 Runtime: Java(TM) SE Runtime Environment 1.8.0-b132 System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb) User directory: C:\Users\jprox\AppData\Roaming\NetBeans\8.0 Cache directory: C:\Users\jprox\AppData\Local\NetBeans\Cache\8.0
changeset : 40452c81d4d1 author : Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org> date : Wed Apr 16 10:54:25 CEST 2014 summary : #242827 - [Change method parameter] Mandatory braces not added
Integrated into 'main-silver', will be available in build *201404180001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/40452c81d4d1 User: Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org> Log: #242827 - [Change method parameter] Mandatory braces not added