summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>2012-11-16 05:04:50 +0000
committerchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>2012-11-16 05:04:50 +0000
commit6e5d761533dc8caa690930b58baba5f2895e7aae (patch)
tree2d3dceaa153c273db003ac812b12f3b04e0f21bd /src
parentdafd50b43c2a9bf835f2128865b2034bd44a1f64 (diff)
downloadjavassist-6e5d761533dc8caa690930b58baba5f2895e7aae.tar.gz
javassist-6e5d761533dc8caa690930b58baba5f2895e7aae.zip
fixed JASSIST-177
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@689 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
Diffstat (limited to 'src')
-rw-r--r--src/test/javassist/bytecode/StackMapTest.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/javassist/bytecode/StackMapTest.java b/src/test/javassist/bytecode/StackMapTest.java
index 1004b29c..a78c6fc4 100644
--- a/src/test/javassist/bytecode/StackMapTest.java
+++ b/src/test/javassist/bytecode/StackMapTest.java
@@ -783,7 +783,7 @@ public class StackMapTest extends TestCase {
public void testJsr() throws Exception {
CtClass cc = loader.makeClass("javassist.bytecode.StackMapTestJsrTest");
ClassFile cf = cc.getClassFile();
- cf.setMajorVersion(ClassFile.JAVA_6);
+ cf.setMajorVersion(ClassFile.JAVA_5);
ConstPool cp = cf.getConstPool();
MethodInfo mi = new MethodInfo(cp, "test", "()I");
mi.setAccessFlags(AccessFlag.PUBLIC);
@@ -806,8 +806,8 @@ public class StackMapTest extends TestCase {
+ "}",
cc));
cc.writeFile();
- // Object t1 = make(cc.getName());
- // assertEquals(3, invoke(t1, "test"));
+ Object t1 = make(cc.getName());
+ assertEquals(3, invoke(t1, "test"));
}
public void tstCtClassType() throws Exception {