From: chibash Date: Thu, 28 May 2015 00:44:53 +0000 (+0900) Subject: fixed JASSIST-242. VerifyError: Inconsistent args count operand in invokeinterface... X-Git-Tag: rel_3_20_0_ga~1 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d9653a3483fbdfd0e883ee5bdeec4f4adab279c5;p=javassist.git fixed JASSIST-242. VerifyError: Inconsistent args count operand in invokeinterface when boolean parameter function with inheritance --- 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(); + } + } +}