Community
Participate
Working Groups
HEAD 20060323 The following should complain about l not being initialized: public class X { public void foo(boolean b) { final Object l; do { if (b) { l = new Object(); break; } } while (false); l.toString(); // complain } } The message absence is due to the fix for bug 129371.
Created attachment 36801 [details] HEAD - suggested fix plus test case
Added test case FlowAnalysisTest #24. The issue is due to a side effect upon flowInfo into DoStatement.analyseCode when baking in the upstream flow info. Note that the other loops do not incur the similar side effect. Launching tests before releasing.
Fixed and released in HEAD.
The Target Milestone must be 3.2M6 and not 3.2RC1. I correct it. Verified for 3.2 M6 using build 3.2M6