asm 3.2: ClassWriter.COMPUTE_FRAMES causes java.lang.ArrayIndexOutOfBoundsException
While trying to take advantage of ClassWriter.COMPUTE_FRAMES, the following
Exception occurs:
------------ cut here ------------
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 1
at org.objectweb.asm.Frame.a(Unknown Source)
at org.objectweb.asm.Frame.a(Unknown Source)
at org.objectweb.asm.MethodWriter.visitMaxs(Unknown Source)
at org.objectweb.asm.tree.MethodNode.accept(Unknown Source)
at org.objectweb.asm.util.CheckMethodAdapter$1.visitEnd(Unknown Source)
at org.objectweb.asm.util.CheckMethodAdapter.visitEnd(Unknown Source)
at org.objectweb.asm.util.TraceMethodVisitor.visitEnd(Unknown Source)
at RgfExtendClass.visitMethod(RgfExtendClass.java:447)
at org.objectweb.asm.ClassReader.accept(Unknown Source)
at org.objectweb.asm.ClassReader.accept(Unknown Source)
at RgfTestCreate.main(RgfTestCreate.java:38)
------------ cut here ------------
Using ClassWirter.COMPUTE_MAXS instead works o.k.
Hence concluding that there is a bug in the respective code. If needed, I could
supply an archive to reproduce this error