Summary: | [compiler][null] Unexpected variable might be null warning in finally block | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Arnaud <ademuyser> | ||||
Component: | Core | Assignee: | Maxime Daniel <maxime_daniel> | ||||
Status: | VERIFIED FIXED | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | P3 | CC: | mlists | ||||
Version: | 3.2 | ||||||
Target Milestone: | 3.3 M3 | ||||||
Hardware: | PC | ||||||
OS: | All | ||||||
Whiteboard: | |||||||
Bug Depends on: | |||||||
Bug Blocks: | 157154 | ||||||
Attachments: |
|
Description
Arnaud
2006-07-05 09:09:00 EDT
Reproduced, will investigate. Fixed. Will attach a patch when bug 147118 will be released (cumulative changes for now). Waiting that 3.3 M2 be declared. Created attachment 50811 [details]
Fix plus test case.
Introduced the following notions: cannotBeNull (is isDefinitelyNonNull or isProtectedNonNull) and canOnlyBeNull (is isDefinitelyNull or isProtectedNull) to better catch null related status of locals within finally blocks.
Released for 3.3M3. Verified for 3.3 M3 using warm-up build I20061030-0010 |