Closed r67yfyt closed 1 year ago
业务类有何特点,导致走到了
if (nestHostClass != null) { classVisitor.visitNestHost(nestHostClass); }
业务类有何特点,导致走到了
if (nestHostClass != null) { classVisitor.visitNestHost(nestHostClass); }
有内部类或者使用了内部类的
@r67yfyt 欢迎提交 PR 哈,可以把你的本地修复方案让 @yuanyuancin Review 下,没问题的话就可以合并。
Describe the question or bug
"com.alipay.sofa.ark.tools.MainClassFinder.ClassDescriptor#ClassDescriptor" set "Opcodes.ASM4" however "if (nestHostClass != null) { classVisitor.visitNestHost(nestHostClass); }" and " public void visitNestHost(final String nestHost) { if (api < Opcodes.ASM7) { throw new UnsupportedOperationException("NestHost requires ASM7"); } if (cv != null) { cv.visitNestHost(nestHost); } } "
Expected behavior
set "Opcodes.ASM7"
Minimal yet complete reproducer code (or GitHub URL to code)
Environment
java -version
): java version "17.0.8" 2023-07-18 LTSuname -a
): windows 11