aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/test5
diff options
context:
space:
mode:
authorchibash <chiba@javassist.org>2016-02-24 01:57:05 +0900
committerchibash <chiba@javassist.org>2016-02-24 01:57:05 +0900
commitb110efa847be1d1f7c9d4932def4b49ea8a6dcaf (patch)
tree39f2b37cedc3f1c603de225b0f3b437e32d73a46 /src/test/test5
parentd2d00601aa273adc4ceb47cc449fada0d35cb893 (diff)
downloadjavassist-b110efa847be1d1f7c9d4932def4b49ea8a6dcaf.tar.gz
javassist-b110efa847be1d1f7c9d4932def4b49ea8a6dcaf.zip
fixes JIRA JASSIST-250
Diffstat (limited to 'src/test/test5')
-rw-r--r--src/test/test5/JIRA250Super.java17
-rw-r--r--src/test/test5/JIRA250Super2.java5
2 files changed, 22 insertions, 0 deletions
diff --git a/src/test/test5/JIRA250Super.java b/src/test/test5/JIRA250Super.java
new file mode 100644
index 00000000..9c328ee4
--- /dev/null
+++ b/src/test/test5/JIRA250Super.java
@@ -0,0 +1,17 @@
+package test5;
+
+interface JIRA250BarI {
+ int foo();
+}
+
+class JIRA250Bar implements JIRA250BarI {
+ public int foo() { return 1; }
+}
+
+interface JIRA250SuperI {
+ JIRA250BarI getBar();
+}
+
+public class JIRA250Super extends JIRA250Super2 implements JIRA250SuperI {
+}
+
diff --git a/src/test/test5/JIRA250Super2.java b/src/test/test5/JIRA250Super2.java
new file mode 100644
index 00000000..919b0860
--- /dev/null
+++ b/src/test/test5/JIRA250Super2.java
@@ -0,0 +1,5 @@
+package test5;
+
+public class JIRA250Super2 {
+ public JIRA250Bar getBar() { return null; }
+}