]> source.dussan.org Git - javassist.git/commitdiff
fixed JASSIST-178
authorchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>
Thu, 15 Nov 2012 17:54:38 +0000 (17:54 +0000)
committerchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>
Thu, 15 Nov 2012 17:54:38 +0000 (17:54 +0000)
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@688 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

pom.xml
src/test/javassist/bytecode/BytecodeTest.java

diff --git a/pom.xml b/pom.xml
index 509d93273378bdcaf1ead7af8254b0438cc0a4a0..449bbd3d900e58ec612286de5d6390f41109a6ae 100644 (file)
--- a/pom.xml
+++ b/pom.xml
         <configuration>
           <source>1.6</source>
           <target>1.6</target>
+          <testSource>1.7</testSource>
+          <testTarget>1.7</testTarget>
         </configuration>
       </plugin>
       <plugin>
index 4fbd4fb2104339a58a8dc4e88253f5b2c6a8480f..b918750f6dc9d7567876dcf1363f63d8687c9313 100644 (file)
@@ -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(".");