-
Bug
-
Resolution: Duplicate
-
P5
-
None
-
5.0
-
generic
-
generic
The following is required to result in an unchecked diagnostic, but javac produces none.
interface I { }
class A<T> {
void f(I xx) {
A<T> yy = (A<T>)xx;
}
}
interface I { }
class A<T> {
void f(I xx) {
A<T> yy = (A<T>)xx;
}
}
- duplicates
-
JDK-6467183 javac fails to raise unchecked warning on cast of parameterized generic subclass
- Closed
- relates to
-
JDK-6790039 overhaul cast-conversion (umbrella)
- Closed