-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P3
-
Affects Version/s: 5.0
-
Component/s: tools
-
b40
-
generic
-
solaris_8
Java should not allow a class literal on a nonreified type. the following
should be illegal.
class Y<T> {
Y() {
Class c = T[].class;
}
}
should be illegal.
class Y<T> {
Y() {
Class c = T[].class;
}
}