8015101: Covariance of return type implied by upper bounding on type parameter is ignored
Summary: Capture intersection supertypes before comparing their members
Reviewed-by: vromero
T7034495.java:40:17: compiler.err.types.incompatible.diff.ret: T7034495.B<compiler.misc.type.captureof: 1, ?>, T7034495.A<compiler.misc.type.captureof: 2, ?>, foo()
1 error