Wrong calculation of max stack sizes with subroutines
In the visitJumpInsn(...) method in class org.objectweb.asm.CodeWriter, it is assumed that the instruction just after a jsr has the same stack size as just before the jsr, i.e. the subroutine does not push / pop values onto / from the operand stack. This is not always true, and therefore that may lead to a wrong max stack size if this calculation is left to the CodeWriter. We should modify this method to do the complex analysis required to calculate right.
To upload designs, you'll need to enable LFS. More information