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

changeset 1268
af6a4c24f4e3
parent 1251
6f0ed5a89c25
child 1296
cddc2c894cc6
equal deleted inserted replaced
1267:f43aded513e7 1268:af6a4c24f4e3
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.infer.no.conforming.instance.exists 24 // key: compiler.misc.infer.no.conforming.instance.exists
25 // key: compiler.err.prob.found.req.1 25 // key: compiler.err.cant.apply.symbol.1
26 26
27 class IncompatibleTypes1<V> { 27 class IncompatibleTypes1<V> {
28 <T> IncompatibleTypes1<Integer> m() { 28 <T> IncompatibleTypes1<Integer> m() {
29 return null; 29 return null;
30 } 30 }

mercurial