test/tools/javac/diags/examples/IncompatibleTypes1.java

changeset 689
77cc34d5e548
parent 610
3640b60bd0f6
child 1238
e28a06a3c5d9
equal deleted inserted replaced
688:50f9ac2f4730 689:77cc34d5e548
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;

mercurial