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

changeset 1415
01c9d4161882
parent 1348
573ceb23beeb
equal deleted inserted replaced
1414:843d3b191773 1415:01c9d4161882
21 * questions. 21 * questions.
22 */ 22 */
23 23
24 // key: compiler.err.prob.found.req 24 // key: compiler.err.prob.found.req
25 // key: compiler.misc.invalid.generic.desc.in.functional.intf 25 // key: compiler.misc.invalid.generic.desc.in.functional.intf
26 // options: -XDallowLambda
27 26
28 class InvalidGenericDescInFunctionalIntf { 27 class InvalidGenericDescInFunctionalIntf {
29 28
30 interface SAM { 29 interface SAM {
31 <Z> void m(); 30 <Z> void m();

mercurial