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.
recent build has the following regression: class pair<First, Second> { } class MapImpl<KeyT, ValueT> { pair<KeyT, ValueT> Buckets[]; public MapImpl() { Buckets = ((pair<KeyT, ValueT>[])null); // Error here } } Error messages are: lambda expression not expected here ')' expected ')' expected not a statement illegal start of expression
Product Version: NetBeans IDE Dev (Build 20140826-6b25e1f88edf) Java: 1.7.0_67; Java HotSpot(TM) 64-Bit Server VM 24.65-b04 Runtime: Java(TM) SE Runtime Environment 1.7.0_67-b01
used source level is Java 1.7
Fixed in jet-main. http://hg.netbeans.org/jet-main/rev/24ba456e0bab http://hg.netbeans.org/main/nb-javac/rev/0682abc8b659
Integrated into 'main-silver', will be available in build *201408280001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/24ba456e0bab User: Dusan Balek <dbalek@netbeans.org> Log: Issue #246700: regression: incorrect erros in template based code - fixed.
*** Bug 246727 has been marked as a duplicate of this bug. ***