-
Type:
Bug
-
Resolution: Duplicate
-
Priority:
P5
-
None
-
Affects Version/s: 5.0
-
Component/s: tools
-
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
-