Community
Participate
Working Groups
Version: 3.2.0 Build id: I20051130-1215 Having: package test1; public class E1<T> { public static int I; public void foo() { E1.I= 10; } } And setting 'Unchecked generic type operation' to warning. I get the warning: Type safety: The field I from the raw type E1 is assigned a value of type int. References to generic type E1<T> should be parameterized. But I is a static field and a type paremeter is not required/possible.
reproduced in latest
Added GenericTypeTest#test930. Indeed static fields shouldn't be issuing such diagnostics. Fixed
Fixed
Verified for 3.2 M6 using build I20060327-0010