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.

Bug 269784

Summary: Possible false positive of not null
Product: java Reporter: SirIntellegence
Component: HintsAssignee: Svata Dedic <sdedic>
Status: NEW ---    
Severity: normal    
Priority: P4    
Version: 8.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: Source code

Description SirIntellegence 2017-02-09 16:18:21 UTC
Created attachment 163604 [details]
Source code

I'm not sure how easy this would be fixed, but Netbeans considers Lambda expressions to be executed immediately and thus gives a false positive of not null in the attached source code.