test for super default method call
This commit is contained in:
11
testData/src/pkg/TestInterfaceSuper.java
Normal file
11
testData/src/pkg/TestInterfaceSuper.java
Normal file
@@ -0,0 +1,11 @@
|
||||
package pkg;
|
||||
|
||||
public interface TestInterfaceSuper {
|
||||
default void defaultMethod() {}
|
||||
|
||||
class Impl implements TestInterfaceSuper {
|
||||
public void defaultMethod() {
|
||||
TestInterfaceSuper.super.defaultMethod();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user