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

changeset 1415
01c9d4161882
parent 1348
573ceb23beeb
child 2525
2eb010b6cb22
equal deleted inserted replaced
1414:843d3b191773 1415:01c9d4161882
24 // key: compiler.err.types.incompatible.diff.ret 24 // key: compiler.err.types.incompatible.diff.ret
25 // key: compiler.err.prob.found.req 25 // key: compiler.err.prob.found.req
26 // key: compiler.misc.incompatible.descs.in.functional.intf 26 // key: compiler.misc.incompatible.descs.in.functional.intf
27 // key: compiler.misc.descriptor 27 // key: compiler.misc.descriptor
28 // key: compiler.misc.descriptor.throws 28 // key: compiler.misc.descriptor.throws
29 // options: -XDallowLambda
30 29
31 class IncompatibleDescsInFunctionalIntf { 30 class IncompatibleDescsInFunctionalIntf {
32 interface A { 31 interface A {
33 Integer m(String i) throws Exception; 32 Integer m(String i) throws Exception;
34 } 33 }

mercurial