Community
Participate
Working Groups
The following program issues a warning with Eclipse 3.4.1 (build M20080911-1700), even though it is not supposed to (tested against javac 1.6.0_07). I could not find this bug reported, but I may have missed the report (searched for SupressWarnings) Thanks! public class Test{ void m () { Integer y= null; @SuppressWarnings("null") int x; x = y; } }
Changing Version tag to something more believable.
If you are talking about this warning: 1. WARNING in D:\tests_sources\Test.java (at line 5) @SuppressWarnings("null") ^^^^^^ Unnecessary @SuppressWarnings("null") This is expected as there is no null warning issued for the corresponding code. Closing as INVALID.
verified for 3.6M5.
Verified.