c3f14c836b
- Add 0002-Catch-CompileException-in-test.patch to fix compilation of a test - Make generate-tarball.sh actually compress the tarball
13 lines
681 B
Diff
13 lines
681 B
Diff
--- a/asm-util/src/test/java/org/objectweb/asm/util/ASMifierTest.java
|
|
+++ b/asm-util/src/test/java/org/objectweb/asm/util/ASMifierTest.java
|
|
@@ -107,8 +107,8 @@ public class ASMifierTest extends AsmTes
|
|
}
|
|
|
|
private static byte[] compile(final String name, final String source) throws IOException {
|
|
- Parser parser = new Parser(new Scanner(name, new StringReader(source)));
|
|
try {
|
|
+ Parser parser = new Parser(new Scanner(name, new StringReader(source)));
|
|
UnitCompiler unitCompiler = new UnitCompiler(parser.parseCompilationUnit(), ICLASS_LOADER);
|
|
return unitCompiler.compileUnit(true, true, true)[0].toByteArray();
|
|
} catch (CompileException e) {
|