comparison: test/tools/javac/defaultMethods/Pos11.java
test/tools/javac/defaultMethods/Pos11.java
- changeset 1415
- 01c9d4161882
- parent 1393
- d7d932236fee
- child 2020
- bb7271e64ef6
equal
deleted
inserted
replaced
23 |
23 |
24 /* |
24 /* |
25 * @test |
25 * @test |
26 * @summary complex test with conflict resolution via overriding |
26 * @summary complex test with conflict resolution via overriding |
27 * @author Brian Goetz |
27 * @author Brian Goetz |
28 * @compile -XDallowDefaultMethods Pos11.java |
28 * @compile Pos11.java |
29 */ |
29 */ |
30 |
30 |
31 class Pos11 { |
31 class Pos11 { |
32 interface A { |
32 interface A { |
33 default void get() { Pos11.one(this); } |
33 default void get() { Pos11.one(this); } |