diff options
Diffstat (limited to 'src/test/test5')
-rw-r--r-- | src/test/test5/JIRA246.java | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/test/test5/JIRA246.java b/src/test/test5/JIRA246.java new file mode 100644 index 00000000..da23f6ea --- /dev/null +++ b/src/test/test5/JIRA246.java @@ -0,0 +1,21 @@ +package test5; + +public class JIRA246 { + public interface Test { + default void defaultMethod() { + } + void test(); + } + + public interface IA { + default int get() { + return 0; + } + } + + public static class A implements IA { + public int anotherGet() { + return 1; + } + } +} |