Update dependencies to asm 4

Support ASM 4.0 by updating gwtorm. Match the rest of gwtorm's
dependencies at the same time, including bumping the H2, PostgreSQL
and MySQL database drivers.

Change-Id: I0e414f1482b0732cfa929ac7b125966c929089ab
This commit is contained in:
Shawn O. Pearce
2012-09-10 11:58:12 -07:00
parent 3153be519d
commit 92024008e1
4 changed files with 38 additions and 14 deletions

View File

@@ -299,7 +299,7 @@ class AutoRegisterModules {
return data;
}
private static class ClassData implements ClassVisitor {
private static class ClassData extends ClassVisitor {
private static final String EXPORT = Type.getType(Export.class).getDescriptor();
private static final String LISTEN = Type.getType(Listen.class).getDescriptor();
@@ -308,6 +308,10 @@ class AutoRegisterModules {
String exportedAsName;
boolean listen;
ClassData() {
super(Opcodes.ASM4);
}
boolean isConcrete() {
return (access & Opcodes.ACC_ABSTRACT) == 0
&& (access & Opcodes.ACC_INTERFACE) == 0;
@@ -370,8 +374,12 @@ class AutoRegisterModules {
}
}
private static abstract class AbstractAnnotationVisitor implements
private static abstract class AbstractAnnotationVisitor extends
AnnotationVisitor {
AbstractAnnotationVisitor() {
super(Opcodes.ASM4);
}
@Override
public AnnotationVisitor visitAnnotation(String arg0, String arg1) {
return null;