Merge "Use ASM9 in tools"
This commit is contained in:
@@ -39,7 +39,7 @@ fun main(args: Array<String>) {
|
||||
kotlin.system.exitProcess(2)
|
||||
}
|
||||
|
||||
val ancestorCollector = AncestorCollector(Opcodes.ASM7, null)
|
||||
val ancestorCollector = AncestorCollector(Opcodes.ASM9, null)
|
||||
|
||||
for (entry in zipFile.entries()) {
|
||||
if (entry.name.endsWith(".class")) {
|
||||
|
||||
@@ -28,7 +28,7 @@ public class TraceInjectionClassVisitor extends ClassVisitor {
|
||||
private final TraceInjectionConfiguration mParams;
|
||||
public TraceInjectionClassVisitor(ClassVisitor classVisitor,
|
||||
TraceInjectionConfiguration params) {
|
||||
super(Opcodes.ASM7, classVisitor);
|
||||
super(Opcodes.ASM9, classVisitor);
|
||||
mParams = params;
|
||||
}
|
||||
|
||||
|
||||
@@ -61,7 +61,7 @@ public class TraceInjectionMethodAdapter extends AdviceAdapter {
|
||||
|
||||
public TraceInjectionMethodAdapter(MethodVisitor methodVisitor, int access,
|
||||
String name, String descriptor, TraceInjectionConfiguration params) {
|
||||
super(Opcodes.ASM7, methodVisitor, access, name, descriptor);
|
||||
super(Opcodes.ASM9, methodVisitor, access, name, descriptor);
|
||||
mParams = params;
|
||||
mIsConstructor = "<init>".equals(name);
|
||||
}
|
||||
@@ -157,7 +157,7 @@ public class TraceInjectionMethodAdapter extends AdviceAdapter {
|
||||
class TracingAnnotationVisitor extends AnnotationVisitor {
|
||||
|
||||
TracingAnnotationVisitor(AnnotationVisitor annotationVisitor) {
|
||||
super(Opcodes.ASM7, annotationVisitor);
|
||||
super(Opcodes.ASM9, annotationVisitor);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user