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 - Possible false positive of not null
Summary: Possible false positive of not null
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 8.2
Hardware: All All
: P4 normal (vote)
Assignee: Svata Dedic
Depends on:
Reported: 2017-02-09 16:18 UTC by SirIntellegence
Modified: 2017-02-09 16:18 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:

Source code (175 bytes, text/plain)
2017-02-09 16:18 UTC, SirIntellegence

Note You need to log in before you can comment on or make changes to this bug.
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.