23 |
23 |
24 /* |
24 /* |
25 * @test |
25 * @test |
26 * @summary check that well-formed MI hierarchies behaves well w.r.t. method resolution (i.e. no ambiguities) |
26 * @summary check that well-formed MI hierarchies behaves well w.r.t. method resolution (i.e. no ambiguities) |
27 * @author Maurizio Cimadamore |
27 * @author Maurizio Cimadamore |
28 * @compile -XDallowDefaultMethods Pos06.java |
28 * @compile Pos06.java |
29 */ |
29 */ |
30 |
30 |
31 class Pos06 { |
31 class Pos06 { |
32 interface A { |
32 interface A { |
33 default void m() { Pos06.impl(this); } |
33 default void m() { Pos06.impl(this); } |