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

changeset 1415
01c9d4161882
parent 1393
d7d932236fee
child 2525
2eb010b6cb22
equal deleted inserted replaced
1414:843d3b191773 1415:01c9d4161882
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.unrelated.defaults 24 // key: compiler.err.types.incompatible.unrelated.defaults
25 // options: -XDallowDefaultMethods
26 25
27 class TypesIncompatibleUnrelatedDefaults { 26 class TypesIncompatibleUnrelatedDefaults {
28 interface A { 27 interface A {
29 default void m() { } 28 default void m() { }
30 } 29 }

mercurial