Skip to content

Shorts, Bytes, Chars and Booleans are int values

Idan Horowitz requested to merge idanho/asm:idanho-master-patch-67059 into master

This change fixes an exception that is thrown when analyzing load instructions with Short/Byte/Character/Boolean values.

Example stack trace:

Caused by: java.lang.IllegalArgumentException: Illegal LDC constant 10 at org.objectweb.asm.tree.analysis.BasicInterpreter.newOperation(BasicInterpreter.java:145) at org.objectweb.asm.tree.analysis.BasicInterpreter.newOperation(BasicInterpreter.java:52) at org.objectweb.asm.tree.analysis.Frame.execute(Frame.java:270) at org.objectweb.asm.tree.analysis.Analyzer.analyze(Analyzer.java:200) ... 8 more

Merge request reports