Community
Participate
Working Groups
Build ID: 3.4.1 Steps To Reproduce: Activate "Potential programming problems" --> "Potential null pointer access" (warning) insert the following lines in you code: Object o = null; assert o == null : o.getClass(); I get a warning "Potential null pointer access: The variable o may be null at this location" More information:
Changing Version tag to something more believable.
In version 3.5 as well as 3.6M3, i can see the expected warning "Redundant null check: The variable o can only be null at this location" on o == null. Can you please upgrade?
I'm working with M20091202-0800 and actually the reported warning isn't displayed anymore. Maybe it's already fixed since 3.5? I reported it against 3.4.1
Yes you won't get the unexpected warning if you use 3.5 or latter.
so I propose to close the bug.
Closing as WORKSFORME.
Verified for 3.6M5 using I20100125-0800