diff options
author | chiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3> | 2012-11-15 17:17:07 +0000 |
---|---|---|
committer | chiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3> | 2012-11-15 17:17:07 +0000 |
commit | 9133f1b1a4a3c7c9921d7fb3e4280f596b797f27 (patch) | |
tree | 14a85e8ee9bde0eb636478443909bd83eaf60f69 /src | |
parent | 226a8f53e5d26d8a4a5aefcfd09340bbc9caf7ce (diff) | |
download | javassist-9133f1b1a4a3c7c9921d7fb3e4280f596b797f27.tar.gz javassist-9133f1b1a4a3c7c9921d7fb3e4280f596b797f27.zip |
fixed JASSIST-178
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@687 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
Diffstat (limited to 'src')
-rw-r--r-- | src/test/javassist/bytecode/BytecodeTest.java | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/test/javassist/bytecode/BytecodeTest.java b/src/test/javassist/bytecode/BytecodeTest.java index e37529a0..4fbd4fb2 100644 --- a/src/test/javassist/bytecode/BytecodeTest.java +++ b/src/test/javassist/bytecode/BytecodeTest.java @@ -814,8 +814,13 @@ public class BytecodeTest extends TestCase { cf.addAttribute(new BootstrapMethodsAttribute(cp, bms)); cc.writeFile(); - Object obj = make(cc.getName()); - assertEquals(9, invoke(obj, "test")); + try { + Object obj = make(cc.getName()); + assertEquals(9, invoke(obj, "test")); + } + catch (ClassFormatError e) { + System.out.println("Indy: " + e); + } ClassPool cp2 = new ClassPool(); cp2.appendClassPath("."); |