aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/javassist/bytecode/BytecodeTest.java
diff options
context:
space:
mode:
authorchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>2012-11-15 17:54:38 +0000
committerchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>2012-11-15 17:54:38 +0000
commitdafd50b43c2a9bf835f2128865b2034bd44a1f64 (patch)
tree97d6366a87582cb90c9202f85051798884288c4d /src/test/javassist/bytecode/BytecodeTest.java
parent9133f1b1a4a3c7c9921d7fb3e4280f596b797f27 (diff)
downloadjavassist-dafd50b43c2a9bf835f2128865b2034bd44a1f64.tar.gz
javassist-dafd50b43c2a9bf835f2128865b2034bd44a1f64.zip
fixed JASSIST-178
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@688 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
Diffstat (limited to 'src/test/javassist/bytecode/BytecodeTest.java')
-rw-r--r--src/test/javassist/bytecode/BytecodeTest.java10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/test/javassist/bytecode/BytecodeTest.java b/src/test/javassist/bytecode/BytecodeTest.java
index 4fbd4fb2..b918750f 100644
--- a/src/test/javassist/bytecode/BytecodeTest.java
+++ b/src/test/javassist/bytecode/BytecodeTest.java
@@ -814,13 +814,9 @@ public class BytecodeTest extends TestCase {
cf.addAttribute(new BootstrapMethodsAttribute(cp, bms));
cc.writeFile();
- try {
- Object obj = make(cc.getName());
- assertEquals(9, invoke(obj, "test"));
- }
- catch (ClassFormatError e) {
- System.out.println("Indy: " + e);
- }
+
+ Object obj = make(cc.getName());
+ assertEquals(9, invoke(obj, "test"));
ClassPool cp2 = new ClassPool();
cp2.appendClassPath(".");