mirror of
https://github.com/alibaba/arthas.git
synced 2026-11-30 07:32:57 +00:00
1 parent
6ecc035a6d
commit
b80698becb
1 file changed
+2
-2
@@ -355,7 +355,7 @@ public class AdviceWeaver extends ClassVisitor implements Opcodes {
|
|||||||
* @param cv ClassVisitor for ASM
|
* @param cv ClassVisitor for ASM
|
||||||
*/
|
*/
|
||||||
public AdviceWeaver(int adviceId, boolean isTracing, boolean skipJDKTrace, String className, Matcher matcher, EnhancerAffect affect, ClassVisitor cv) {
|
public AdviceWeaver(int adviceId, boolean isTracing, boolean skipJDKTrace, String className, Matcher matcher, EnhancerAffect affect, ClassVisitor cv) {
|
||||||
super(ASM5, cv);
|
super(Opcodes.ASM7, cv);
|
||||||
this.adviceId = adviceId;
|
this.adviceId = adviceId;
|
||||||
this.isTracing = isTracing;
|
this.isTracing = isTracing;
|
||||||
this.skipJDKTrace = skipJDKTrace;
|
this.skipJDKTrace = skipJDKTrace;
|
||||||
@@ -410,7 +410,7 @@ public class AdviceWeaver extends ClassVisitor implements Opcodes {
|
|||||||
// 编织方法计数
|
// 编织方法计数
|
||||||
affect.mCnt(1);
|
affect.mCnt(1);
|
||||||
|
|
||||||
return new AdviceAdapter(ASM5, new JSRInlinerAdapter(mv, access, name, desc, signature, exceptions), access, name, desc) {
|
return new AdviceAdapter(Opcodes.ASM7, new JSRInlinerAdapter(mv, access, name, desc, signature, exceptions), access, name, desc) {
|
||||||
|
|
||||||
// -- Label for try...catch block
|
// -- Label for try...catch block
|
||||||
private final Label beginLabel = new Label();
|
private final Label beginLabel = new Label();
|
||||||
|
|||||||
Reference in new issue
Block a user