aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/test5
diff options
context:
space:
mode:
authorchibash <chiba@javassist.org>2015-05-25 02:37:05 +0900
committerchibash <chiba@javassist.org>2015-05-25 02:37:05 +0900
commitefae59551e3a95cf128fbac60b6fcfee4d2cf2ce (patch)
treedbc87d2214c61744f7fd87cff3c23cedab89dd01 /src/test/test5
parentbbecd7c489662c68af12b0e56265d52b7b2a644d (diff)
downloadjavassist-efae59551e3a95cf128fbac60b6fcfee4d2cf2ce.tar.gz
javassist-efae59551e3a95cf128fbac60b6fcfee4d2cf2ce.zip
fixed a bug reported as JASSIST-246
Diffstat (limited to 'src/test/test5')
-rw-r--r--src/test/test5/JIRA246.java21
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;
+ }
+ }
+}