-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
5.0
-
generic
-
solaris_8
according to JSR14, the following should be allowed, but javac doesn't allow it.
class WildcardFBoundCheck {
interface I4<T> {}
static class C4<X extends I4<Y>, Y extends I4<X>> {}
WildcardFBoundCheck()
{
C4<I4<?>,?> x2; // <<pass>>
}
}
class WildcardFBoundCheck {
interface I4<T> {}
static class C4<X extends I4<Y>, Y extends I4<X>> {}
WildcardFBoundCheck()
{
C4<I4<?>,?> x2; // <<pass>>
}
}
- duplicates
-
JDK-5011312 wildcard capture (snapshotting)
- Resolved
- relates to
-
JDK-6651719 Compiler crashes possibly during forward reference of TypeParameter
- Closed