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.
class Test { private static void t(@NonNull Data d) { if (d.a == null) { //incorrect warning here System.err.println("null"); } t(new Data(null)); } @interface NonNull {} public static class Data { public final String a; public Data(String a) { this.a = a; } } }
Integrated into 'main-golden', will be available in build *201304172301* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/f583e038f0d0 User: Jan Lahoda <jlahoda@netbeans.org> Log: #228239: more correct handling of member selects.
verified in trunk btw. This should be marked as fixed, shouldn't it?
v.
release73: http://hg.netbeans.org/releases/rev/42989fa57e34
Integrated into 'releases', will be available in build *201305042200* or newer. Wait for official and publicly available build. Changeset: http://hg.netbeans.org/releases/rev/42989fa57e34 User: Jan Lahoda <jlahoda@netbeans.org> Log: #228239: more correct handling of member selects.