Community
Participate
Working Groups
I believe below error is detected incorrectly: public class Test { String getString() { return ""; } void foo() { String string = null; while (true) { string = getString(); if (string != null) { string = ""; } string = null; // The variable string can only be null; it was either set to null or checked for null when last used }}} Tested with Build id: I20060221-1300
Reproduced.
Added test case NullReferenceTest #454. Already fixed in HEAD. I believe this is a duplicate of bug 128014 (checking...).
*** This bug has been marked as a duplicate of 128014 ***
Verified for 3.2 M6 using warm-up build I20060327-0010.