Commit ae452fa3 authored by Lubomir Bulej's avatar Lubomir Bulej

ClassByteLoader, AsmHelper: avoid using deprecated MethodInsnNode constructor.

parent 4a8e0f1f
......@@ -15,7 +15,7 @@ public abstract class ClassByteLoader {
public static final String PROP_DISL_CLASSES = "disl.classes";
public static final String DISL_CLASSES_DELIM = ":";
public static final String DISL_CLASSES_DELIM = ",";
public static final String DISL_CLASSES_EXT = ".class";
public static final char CLASS_DELIM = '.';
public static final char FILE_DELIM = '/';
......
......@@ -370,7 +370,7 @@ public abstract class AsmHelper {
final String ownerName, final String methodName, final String methodDesc
) {
return new MethodInsnNode (
Opcodes.INVOKESTATIC, ownerName, methodName, methodDesc
Opcodes.INVOKESTATIC, ownerName, methodName, methodDesc, false
);
}
......@@ -396,7 +396,7 @@ public abstract class AsmHelper {
final String ownerName, final String methodName, final String methodDesc
) {
return new MethodInsnNode (
Opcodes.INVOKEVIRTUAL, ownerName, methodName, methodDesc
Opcodes.INVOKEVIRTUAL, ownerName, methodName, methodDesc, false
);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment