20 * or visit www.oracle.com if you need additional information or have any |
20 * or visit www.oracle.com if you need additional information or have any |
21 * questions. |
21 * questions. |
22 */ |
22 */ |
23 |
23 |
24 // key: compiler.misc.incompatible.types.1 |
24 // key: compiler.misc.incompatible.types.1 |
25 // key: compiler.misc.no.conforming.instance.exists |
25 // key: compiler.misc.infer.no.conforming.instance.exists |
26 // key: compiler.err.prob.found.req |
26 // key: compiler.err.prob.found.req |
27 |
27 |
28 class IncompatibleTypes1<V> { |
28 class IncompatibleTypes1<V> { |
29 <T extends Integer & Runnable> IncompatibleTypes1<T> m() { |
29 <T extends Integer & Runnable> IncompatibleTypes1<T> m() { |
30 return null; |
30 return null; |