Browse Source

fixed JASSIST-177

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@689 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
tags/rel_3_17_1_ga
chiba 11 years ago
parent
commit
6e5d761533
2 changed files with 4 additions and 4 deletions
  1. 1
    1
      Readme.html
  2. 3
    3
      src/test/javassist/bytecode/StackMapTest.java

+ 1
- 1
Readme.html View File

@@ -283,7 +283,7 @@ see javassist.Dump.

<p>-version 3.17.1
<ul>
<li>JIRA JASSIST-177
<li>JIRA JASSIST-177, 178
</ul>



+ 3
- 3
src/test/javassist/bytecode/StackMapTest.java View File

@@ -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 {

Loading…
Cancel
Save