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.types.incompatible.abstract.default |
24 // key: compiler.err.types.incompatible.abstract.default |
25 // options: -XDallowDefaultMethods |
|
26 |
25 |
27 class TypesIncompatibleAbstractDefault { |
26 class TypesIncompatibleAbstractDefault { |
28 interface A { |
27 interface A { |
29 default void m() { } |
28 default void m() { } |
30 } |
29 } |