Gurutharshan Nadarajah created JASSIST-242:
----------------------------------------------
Summary: VerifyError: Inconsistent args count operand in invokeinterface when
boolean parameter function with inheritance
Key: JASSIST-242
URL:
https://issues.jboss.org/browse/JASSIST-242
Project: Javassist
Issue Type: Bug
Affects Versions: 3.19.0-GA
Environment: Java 1.7, windows
Reporter: Gurutharshan Nadarajah
Assignee: Shigeru Chiba
java.lang.VerifyError: Inconsistent args count operand in invokeinterface comes when there
is a function in inheritance with boolean parameters. And if we call that function with
some expression to evaluate as a boolean value.
This error occurred.
Error message
Exception in thread "main" java.lang.VerifyError: Inconsistent args count
operand in invokeinterface
Exception Details:
Location:
Hello.say()V @22: invokeinterface
Reason:
Error exists in the bytecode
Bytecode:
0000000: 2a2a b600 2bb5 0029 2ab4 0029 0606 a200
0000010: 0703 a700 0404 b900 3103 002a b400 29c0
0000020: 0005 0606 a200 0703 a700 0404 b600 3206
0000030: 06a2 0007 03a7 0004 043c 2ab4 0029 1bb9
0000040: 0031 0200 b200 0212 27b6 0004 b200 0212
0000050: 03b6 0004 b1
Stackmap Table:
same_locals_1_stack_item_frame(@21,Object[#45])
full_frame(@22,{Object[#7]},{Object[#45],Integer})
same_locals_1_stack_item_frame(@43,Object[#5])
full_frame(@44,{Object[#7]},{Object[#5],Integer})
same_frame(@56)
same_locals_1_stack_item_frame(@57,Integer)
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2493)
at java.lang.Class.getConstructor0(Class.java:2803)
at java.lang.Class.newInstance(Class.java:345)
at BoolSeriesTest.main(BoolSeriesTest.java:59)
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)