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.
The following class gives the false positive "The method main will recurse infinitely": import java.util.function.IntUnaryOperator; public class Issue { public static void main(String[] args) { new Issue(n -> { return 42; }).toString(); } Issue(IntUnaryOperator function) {} } Product Version: NetBeans IDE 8.0.2 (Build 201411181905) Updates: NetBeans IDE is updated to version NetBeans 8.0.2 Patch 1 Java: 1.8.0_40; Java HotSpot(TM) 64-Bit Server VM 25.40-b25 Runtime: Java(TM) SE Runtime Environment 1.8.0_40-b25 System: Windows 8 version 6.2 running on amd64; Cp1252; en_US (nb)
Fixed in jet-main#2669d4b6f583
Integrated into 'main-silver', will be available in build *201505140001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/2669d4b6f583 User: Svata Dedic <sdedic@netbeans.org> Log: #251565: improved handling of lambdas