aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/test5
diff options
context:
space:
mode:
authorchibash <chiba@javassist.org>2015-09-25 00:26:43 +0900
committerchibash <chiba@javassist.org>2015-09-25 00:26:43 +0900
commit5bbbcdf552934c72b71f15bf97a35d853d309236 (patch)
tree3b76109c0828e71cd94241d692147689e89f7857 /src/test/test5
parente68077dc870ca45bff88762d191802e6764a9152 (diff)
downloadjavassist-5bbbcdf552934c72b71f15bf97a35d853d309236.tar.gz
javassist-5bbbcdf552934c72b71f15bf97a35d853d309236.zip
adds a test case for JIRA JASSIST-248
Diffstat (limited to 'src/test/test5')
-rw-r--r--src/test/test5/JIRA248.java12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/test/test5/JIRA248.java b/src/test/test5/JIRA248.java
new file mode 100644
index 00000000..0a0abcbe
--- /dev/null
+++ b/src/test/test5/JIRA248.java
@@ -0,0 +1,12 @@
+package test5;
+
+interface JIRA248Intf {
+ default int foo() { return 1; }
+}
+
+class JIRA248Sup implements JIRA248Intf {
+}
+
+public class JIRA248 extends JIRA248Sup {
+ public int foo() { return 70; }
+}