提交 9fd2e8a9 编写于 作者: W wormchen 提交者: Johnson Lee

fix compile error

上级 3405c3c8
......@@ -172,7 +172,7 @@ class ThreadTransformer : ClassTransformer {
(it.opcode == Opcodes.INVOKESPECIAL) &&
(it is MethodInsnNode) &&
(this.desc == it.owner && "<init>" == it.name)
}?.let { init: AbstractInsnNode ->
}?.let { init ->
if (init !is MethodInsnNode) return
val name = "new${prefix.capitalize()}${this.desc.substringAfterLast('/')}"
val desc = "${init.desc.substringBeforeLast(')')}Ljava/lang/String;)L${this.desc};"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册