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.
[recent sources] Consider this: ---------- package flowtest; public class Flowtest { public void i() { int i; try { i = 1; } catch (Exception e) { i = 2; } System.err.println(i); } } ---------- "1" will be marked as unused, which is incorrect.
Integrated into 'main-golden', will be available in build *201105170400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/ac203383cc84 User: Jan Lahoda <jlahoda@netbeans.org> Log: #198652: better handling of try-catch-finally in flow.
Another example: ----------- public void main(String[] args) { int i; switch (args.length) { case 0: i = 0; break; case 1: i = 1; break; case 2: i = 2; break; default: i = 3; break; } System.err.println(i); } -----------
Integrated into 'main-golden', will be available in build *201105180400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/b2575c40a744 User: Jan Lahoda <jlahoda@netbeans.org> Log: #198652: more correct handling of switch statements.
Integrated into 'main-golden', will be available in build *201105240400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/52bd7a31f647 User: Jan Lahoda <jlahoda@netbeans.org> Log: #198652: improving Flow analysis.
Integrated into 'main-golden', will be available in build *201105280401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/b8cbc0710ebc User: Jan Lahoda <jlahoda@netbeans.org> Log: #198652: more flow fixing.
Updated Flow pushed into release701 branch: http://hg.netbeans.org/releases/rev/45663387d032
Integrated into 'main-golden', will be available in build *201105310954* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/45663387d032 User: Jan Lahoda <jlahoda@netbeans.org> Log: #198652: more Flow fixes.
Integrated into 'main-golden', will be available in build *201106010401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/45663387d032 User: Jan Lahoda <jlahoda@netbeans.org> Log: #198652: more Flow fixes.
Integrated into 'main-golden', will be available in build *201106021001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/45663387d032 User: Jan Lahoda <jlahoda@netbeans.org> Log: #198652: more Flow fixes.