19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
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 |
|
25 // key: compiler.misc.infer.no.conforming.instance.exists |
24 // key: compiler.misc.infer.no.conforming.instance.exists |
26 // key: compiler.err.prob.found.req |
25 // key: compiler.err.prob.found.req.1 |
27 |
26 |
28 class IncompatibleTypes1<V> { |
27 class IncompatibleTypes1<V> { |
29 <T extends Integer & Runnable> IncompatibleTypes1<T> m() { |
28 <T extends Integer & Runnable> IncompatibleTypes1<T> m() { |
30 return null; |
29 return null; |
31 } |
30 } |