Summary: | [compiler] Null reference analysis doesn't understand assertions | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Brock Janiczak <brockj> | ||||
Component: | Core | Assignee: | Maxime Daniel <maxime_daniel> | ||||
Status: | VERIFIED FIXED | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | P3 | CC: | eclipse, max.gilead, mlists | ||||
Version: | 3.2 | ||||||
Target Milestone: | 3.2 M6 | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
Brock Janiczak
2006-02-10 06:11:55 EST
Likely a good pattern to recognize in presence of assign statements. FYI: IDEA recognises assert statements and even offers their equivalent of "quick fixes" that will insert assert statements to get rid of those "The value might be null" warnings. Created attachment 34901 [details]
Tentative implementation + test cases
See NullReferenceTest tests 950 and following.
Fixed and released in HEAD. *** Bug 128943 has been marked as a duplicate of this bug. *** Verified for 3.2 M6 using warm-up build I20060327-0010. |