Wrong value of stack size (asm2.0)
The attached source generates a simple class, containing a long field and a setter.
The output of "javap -c -verbose test" for the generated setter is:
public void setLongField(long);
Code:
Stack=2, Locals=3, Args_size=2
0: aload 0
2: lload 1
4: putfield #16; //Field some/Class.longField:J
7: return
The correct stack size is 3, since the size of a long on the stack is 2 and
aload pushes another value onto the stack..