Skip to content

Commit a37949e

Browse files
committed
fix: e.printStackTrace() not remove from <init> when debugOff
1 parent 2333711 commit a37949e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

memshell-party-common/src/main/java/com/reajason/javaweb/buddy/LogRemoveMethodVisitor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public class LogRemoveMethodVisitor implements AsmVisitorWrapper.ForDeclaredMeth
3131
public static DynamicType.Builder<?> extend(DynamicType.Builder<?> builder) {
3232
return builder.visit(
3333
new AsmVisitorWrapper.ForDeclaredMethods()
34-
.method(ElementMatchers.any(), LogRemoveMethodVisitor.INSTANCE));
34+
.invokable(ElementMatchers.any(), LogRemoveMethodVisitor.INSTANCE));
3535
}
3636

3737
@NotNull

0 commit comments

Comments
 (0)