This test uses byte code instrumentation and there were two errors in the test which under some circumstances caused the VM to crash. I have updated the test to run with -Xverify:all which would have caught the problems earlier. The other changes add a missing ALOAD instruction and make sure that ASM does the max stack size calculation for us.
This change is only applicable to jdk 7. webrev: http://cr.openjdk.java.net/~sla/8024027/webrev.00/ bug: https://bugs.openjdk.java.net/browse/JDK-8024027 Thanks, /Staffan