test for super default method call

This commit is contained in:
Egor.Ushakov
2017-04-28 12:17:52 +03:00
parent 645b38d638
commit 790027c779
5 changed files with 42 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
package pkg;
public interface TestInterfaceSuper {
default void defaultMethod() {}
class Impl implements TestInterfaceSuper {
public void defaultMethod() {
TestInterfaceSuper.super.defaultMethod();
}
}
}