Summary: | [compiler] Uninitialized member variables used in nonstatic initializers of peer members don't trigger compilation error | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Hollis Waite <hwaite> | ||||||
Component: | Core | Assignee: | Philipe Mulet <philippe_mulet> | ||||||
Status: | VERIFIED FIXED | QA Contact: | |||||||
Severity: | normal | ||||||||
Priority: | P3 | CC: | david_audel, jerome_lanneluc, Olivier_Thomann, remy.suen | ||||||
Version: | 3.3 | Flags: | philippe_mulet:
pmc_approved+
|
||||||
Target Milestone: | 3.3.2 | ||||||||
Hardware: | PC | ||||||||
OS: | Windows XP | ||||||||
Whiteboard: | |||||||||
Attachments: |
|
Description
Hollis Waite
2007-09-12 08:44:48 EDT
Reproduced with HEAD. Added InitializationTest#test192-193, GenericTypeTest#test1163-1164. Created attachment 78286 [details]
Proposed patch
Indeed the check needs to be performed in nested initialization contexts as well. Released for 3.4M2 Created attachment 78296 [details]
Patch for 3.3.x
Verified for 3.4M2 using build I20070917-0010 considering for 3.3.2 Released for 3.3.2 Fixed Only adding Verified for 3.4M2 to the status whiteboard, since I believe this got lost. This is a bug we have had since day 1, but quite severe. Fix is safe. +1 for 3.3.2 Verified for 3.3.2 using build M20080123-0800. |