diff options
author | chibash <chiba@javassist.org> | 2015-05-28 09:44:53 +0900 |
---|---|---|
committer | chibash <chiba@javassist.org> | 2015-05-28 09:44:53 +0900 |
commit | d9653a3483fbdfd0e883ee5bdeec4f4adab279c5 (patch) | |
tree | 9cd3c28ce373b4d9e4285dd04e173ca907491268 /src/test/test5 | |
parent | a4f46cd3a9445b7c90b8d8b029f069b4db1a342e (diff) | |
download | javassist-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.java | 25 |
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(); + } + } +} |