diff options
Diffstat (limited to 'dcevm/src/main/java/com/github/dcevm/TestClassAdapter.java')
-rw-r--r-- | dcevm/src/main/java/com/github/dcevm/TestClassAdapter.java | 4 |
1 files changed, 2 insertions, 2 deletions
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); } }; } |