-
Notifications
You must be signed in to change notification settings - Fork 7.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
当jdk 14启用 --enable-preview 时,复杂的类 watch/trace出错 #1526
Comments
另外,在一个复杂的应用上,使用jdk 14,启用了 --enable-preview ,在watch时抛出下面的异常:
可以发现有spring aop增强的类: EnhancerBySpringCGLIB ,但和这个类无关。 因为,如果直接 watch 这个spring aop类,结果是正常的。 如果打开 本地未能复现,也许和上面的错误类似。 |
另外,加上 |
原因是 |
修复包测试: arthas-bin.zip |
asm已升级为最新版本 9.0,并且使用了最新的API ASM9 。
复现demo:
jdk-14.0.2.jdk/Contents/Home/bin/javac --enable-preview --release 14 ./*.java
jdk-14.0.2.jdk/Contents/Home/bin/java --enable-preview TTT
watch BBB test
,这个是正常结果watch FFF test
,会抛出上面的异常The text was updated successfully, but these errors were encountered: