| Other |
|---|
| 5.0 b49Fixed |
|
Relates :
|
javac improperly accepts the following code.
////////////////////////////////////////////////////
class R<T extends R<T>> {
T f() { return null; }
T t;
void x(R<?> r) {
this.t = r.f().t; // this should be an error!
}
}
|