aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/test5
diff options
context:
space:
mode:
authorchibash <chiba@javassist.org>2015-09-25 15:32:41 +0900
committerchibash <chiba@javassist.org>2015-09-25 15:32:41 +0900
commit5b0544a385616b6884267ce3ef74a19490109894 (patch)
tree5948390e46c5d9855c5c14987a6df7e9b43f17a7 /src/test/test5
parente44bf416bf4f7d705deef9f9243197d4fff9f2d0 (diff)
downloadjavassist-5b0544a385616b6884267ce3ef74a19490109894.tar.gz
javassist-5b0544a385616b6884267ce3ef74a19490109894.zip
modifies a test case for JIRA JASSIST-248.
Diffstat (limited to 'src/test/test5')
-rw-r--r--src/test/test5/JIRA248.java7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/test/test5/JIRA248.java b/src/test/test5/JIRA248.java
index 5ea8472f..5a334947 100644
--- a/src/test/test5/JIRA248.java
+++ b/src/test/test5/JIRA248.java
@@ -4,6 +4,10 @@ interface JIRA248Intf {
default int foo() { return 1; }
}
+interface JIRA248Intf2 {
+ default int baz() { return 40000; }
+}
+
class JIRA248Sup2 {
public int bar() { return 200; }
}
@@ -11,7 +15,8 @@ class JIRA248Sup2 {
class JIRA248Sup extends JIRA248Sup2 implements JIRA248Intf {
}
-public class JIRA248 extends JIRA248Sup {
+public class JIRA248 extends JIRA248Sup implements JIRA248Intf2 {
public int foo() { return 70; }
public int bar() { return 3000; }
+ public int baz() { return 500000; }
}