aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/test5
diff options
context:
space:
mode:
authorchibash <chiba@javassist.org>2015-05-28 09:44:53 +0900
committerchibash <chiba@javassist.org>2015-05-28 09:44:53 +0900
commitd9653a3483fbdfd0e883ee5bdeec4f4adab279c5 (patch)
tree9cd3c28ce373b4d9e4285dd04e173ca907491268 /src/test/test5
parenta4f46cd3a9445b7c90b8d8b029f069b4db1a342e (diff)
downloadjavassist-d9653a3483fbdfd0e883ee5bdeec4f4adab279c5.tar.gz
javassist-d9653a3483fbdfd0e883ee5bdeec4f4adab279c5.zip
fixed JASSIST-242. VerifyError: Inconsistent args count operand in invokeinterface when boolean parameter function with inheritance
Diffstat (limited to 'src/test/test5')
-rw-r--r--src/test/test5/JIRA242.java25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/test/test5/JIRA242.java b/src/test/test5/JIRA242.java
new file mode 100644
index 00000000..312e594c
--- /dev/null
+++ b/src/test/test5/JIRA242.java
@@ -0,0 +1,25 @@
+package test5;
+
+public class JIRA242 {
+ static interface IBooleanSeries {
+ public void setValue(boolean value);
+ }
+
+ public static class BooleanDataSeries implements IBooleanSeries{
+ @Override
+ public void setValue(boolean value) {}
+ }
+
+ public static class Hello {
+ IBooleanSeries BOOL_SERIES;
+
+ public int say() {
+ System.out.println("Hello end :) ");
+ return 0;
+ }
+
+ public IBooleanSeries createBooleanSeriesStep() {
+ return new BooleanDataSeries();
+ }
+ }
+}