]> source.dussan.org Git - javassist.git/commitdiff
fixed JASSIST-242. VerifyError: Inconsistent args count operand in invokeinterface...
authorchibash <chiba@javassist.org>
Thu, 28 May 2015 00:44:53 +0000 (09:44 +0900)
committerchibash <chiba@javassist.org>
Thu, 28 May 2015 00:44:53 +0000 (09:44 +0900)
src/test/test5/JIRA242.java [new file with mode: 0644]

diff --git a/src/test/test5/JIRA242.java b/src/test/test5/JIRA242.java
new file mode 100644 (file)
index 0000000..312e594
--- /dev/null
@@ -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();
+        }
+    }
+}