]> source.dussan.org Git - javassist.git/commitdiff
fixed JASSIST-177
authorchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>
Fri, 16 Nov 2012 05:59:58 +0000 (05:59 +0000)
committerchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>
Fri, 16 Nov 2012 05:59:58 +0000 (05:59 +0000)
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@690 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

src/test/javassist/bytecode/StackMapTest.java

index a78c6fc442a2338476ee9bace9bb1bc71f9670f6..4fadc890927aabcb2988bcc8b8e57888f71f9f58 100644 (file)
@@ -790,6 +790,9 @@ public class StackMapTest extends TestCase {
         Bytecode code = new Bytecode(cp, 1, 3);
         code.addIconst(3);
         code.addIstore(1);
+        code.addIload(1);
+        code.add(Opcode.IFEQ);
+        code.addIndex(6);
         code.add(Opcode.JSR);
         code.addIndex(5);
         code.addIload(1);