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.
Product Version = NetBeans IDE 8.0.2 (Build 201411181905) Operating System = Windows 7 version 6.1 running on amd64 Java; VM; Vendor = 1.8.0 Runtime = Java HotSpot(TM) 64-Bit Server VM 25.0-b70 NetBeans issues incorrect warning for infinite recursion for a lambda expression public class TestRecursionWarning { public final Runnable fubar() { Runnable result; result = () -> fubar() ; // NetBeans incorrectly warns of infinite recursion result = this::fubar ; // no warning (correct) return result; } public Runnable snafu() { Runnable result; result = () -> snafu() ; // NetBeans incorrectly warns of potential infinite recursion result = this::snafu ; // no warning (correct) return result; } }