[jboss-cvs] javassist SVN: r688 - in trunk: src/test/javassist/bytecode and 1 other directory.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Thu Nov 15 12:54:38 EST 2012
Author: chiba
Date: 2012-11-15 12:54:38 -0500 (Thu, 15 Nov 2012)
New Revision: 688
Modified:
trunk/pom.xml
trunk/src/test/javassist/bytecode/BytecodeTest.java
Log:
fixed JASSIST-178
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2012-11-15 17:17:07 UTC (rev 687)
+++ trunk/pom.xml 2012-11-15 17:54:38 UTC (rev 688)
@@ -126,6 +126,8 @@
<configuration>
<source>1.6</source>
<target>1.6</target>
+ <testSource>1.7</testSource>
+ <testTarget>1.7</testTarget>
</configuration>
</plugin>
<plugin>
Modified: trunk/src/test/javassist/bytecode/BytecodeTest.java
===================================================================
--- trunk/src/test/javassist/bytecode/BytecodeTest.java 2012-11-15 17:17:07 UTC (rev 687)
+++ trunk/src/test/javassist/bytecode/BytecodeTest.java 2012-11-15 17:54:38 UTC (rev 688)
@@ -814,14 +814,10 @@
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(".");
CtClass cc2 = cp2.get(cc.getName());
More information about the jboss-cvs-commits
mailing list