Community
Participate
Working Groups
In the following code, an unused @SuppressWarnings is detected, though it is a consequence of the other compile error. It shouldn't be diagnosed until the error is resolved. import java.util.List; public class X { void foo() { ArrayList al = null; @SuppressWarnings("unchecked") List<String> ls = al; } }
Also, on tuning side, when raised to an ERROR, the warning shouldn't be suppressable with @SuppressWarnings("all")
Created attachment 81477 [details] work in progress
Added AnnotationTest#test235-238
Released for 3.4M4. Fixed
Verified for 3.4M4 using build I20071210-1800.