-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: 5.0
-
Component/s: tools
-
b26
-
generic
-
solaris_8
Arrays of unbounded generic types are just as safe as arrays of raw types.
They should be allowed.
class T {
void f(Class c) {
Class<?>[] a = new Class<?>[0];
Class<?> x = c;
}
}
They should be allowed.
class T {
void f(Class c) {
Class<?>[] a = new Class<?>[0];
Class<?> x = c;
}
}