Invalid type arguments for the generic class Class <T>, where T is a type variable
I am using Oracle JDK 7, and when I create the project, I get this message:
missing type arguments for generic class Class<T> where T is a type-variable: T extends Object declared in class Class Here is the class:
public class Among { private static final Class<?>[] EMPTY_PARAMS = new Class[0]; //warning line Any ideas how to solve it. It is used in many places, and I have a lot of warnings.
+6