Duplicate :
|
|
Duplicate :
|
|
Duplicate :
|
|
Duplicate :
|
|
Duplicate :
|
|
Duplicate :
|
|
Duplicate :
|
|
Duplicate :
|
|
Duplicate :
|
|
Duplicate :
|
|
Duplicate :
|
|
Duplicate :
|
|
Duplicate :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
The following cast is legal yet rejected: class X { static class BB<T, S> { } static class BD<T> extends BB<T, T> { } void f() { BB<? extends Number, ? super Integer> bb = null; Object o = (BD<Number>) bb; // <<warn>> <<todo: cast-infer>> } }
|