aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--build.gradle2
-rw-r--r--dcevm/src/main/java/com/github/dcevm/TestClassAdapter.java4
2 files changed, 3 insertions, 3 deletions
diff --git a/build.gradle b/build.gradle
index 4d268052..2f22b33b 100644
--- a/build.gradle
+++ b/build.gradle
@@ -179,7 +179,7 @@ project('native') {
project('dcevm') {
dependencies {
compile project(':agent')
- compile group: 'asm', name: 'asm-all', version: '3.3.+'
+ compile group: 'org.ow2.asm', name: 'asm-all', version: '5.0.2'
compile files(jre + '/../lib/tools.jar')
testCompile group: 'junit', name: 'junit', version: '4.11'
diff --git a/dcevm/src/main/java/com/github/dcevm/TestClassAdapter.java b/dcevm/src/main/java/com/github/dcevm/TestClassAdapter.java
index dfde5e52..e8639df1 100644
--- a/dcevm/src/main/java/com/github/dcevm/TestClassAdapter.java
+++ b/dcevm/src/main/java/com/github/dcevm/TestClassAdapter.java
@@ -82,12 +82,12 @@ public class TestClassAdapter extends RemappingClassAdapter {
MethodVisitor mv) {
return new RemappingMethodAdapter(access, newDesc, mv, remapper) {
@Override
- public void visitMethodInsn(int opcode, String owner, String name, String desc) {
+ public void visitMethodInsn(int opcode, String owner, String name, String desc, boolean itf) {
if (name.equals("<init>") && isObject && owner.equals("java/lang/Object")) {
return;
}
- super.visitMethodInsn(opcode, owner, stripMethodSuffix(name), desc);
+ super.visitMethodInsn(opcode, owner, stripMethodSuffix(name), desc, itf);
}
};
}