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.err.incompatible.thrown.types.in.mref |
24 // key: compiler.err.incompatible.thrown.types.in.mref |
25 // options: -XDallowMethodReferences |
|
26 |
25 |
27 class IncompatibleThrownTypesInMref { |
26 class IncompatibleThrownTypesInMref { |
28 interface SAM { |
27 interface SAM { |
29 void m(); |
28 void m(); |
30 } |
29 } |