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 build] Consider this source code: ------------ package flowtest; import java.util.concurrent.atomic.AtomicBoolean; public class Flowtest { public void i() { if (!i.getAndSet(true)) { System.err.println(""); } } private final AtomicBoolean i = new AtomicBoolean(); } ------------ The 'System.err.println("");' is marked as a dead branch, although it apparently is not.
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/905cfb404055 User: Jan Lahoda <jlahoda@netbeans.org> Log: #198642: properly reset the visitor return value (i.e. constant boolean expression value) to prevent propagation through method invocations, etc.
Updated Flow pushed into release701 branch: http://hg.netbeans.org/releases/rev/45663387d032