|
Duplicate :
|
|
|
Relates :
|
|
|
Relates :
|
|
|
Relates :
|
Consider the example in 5042462.
We have the following type variables:
<T, U extends T, V extends T>
The JLS (p463) defines lub in terms of the EST (erased supertype set).
EST(U) = {Object} and
EST(V) = {Object}.
Then EC = { Object } = MEC.
So lub(U,V) = Object.
It should be T.
|