summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>2012-11-16 05:59:58 +0000
committerchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>2012-11-16 05:59:58 +0000
commitb1e4ecb1fd042961fe649de5e27ca70c416e9d3a (patch)
tree8b1b4c09dfe0ef0242ac275c0cac0f6b39b227e6
parent6e5d761533dc8caa690930b58baba5f2895e7aae (diff)
downloadjavassist-b1e4ecb1fd042961fe649de5e27ca70c416e9d3a.tar.gz
javassist-b1e4ecb1fd042961fe649de5e27ca70c416e9d3a.zip
fixed JASSIST-177
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@690 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
-rw-r--r--src/test/javassist/bytecode/StackMapTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/javassist/bytecode/StackMapTest.java b/src/test/javassist/bytecode/StackMapTest.java
index a78c6fc4..4fadc890 100644
--- a/src/test/javassist/bytecode/StackMapTest.java
+++ b/src/test/javassist/bytecode/StackMapTest.java
@@ -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);