提交 424ec7ef 编写于 作者: wujun8's avatar wujun8 提交者: wu-sheng

ignore kryo ".reflectasm." class (#3845)

When using kryo, Byte-buddy occurs exception when match type.

> java.lang.IllegalStateException: Cannot resolve type description for com.esotericsoftware.reflectasm.PublicConstructorAccess
上级 e11d2071
...@@ -93,6 +93,7 @@ public class SkyWalkingAgent { ...@@ -93,6 +93,7 @@ public class SkyWalkingAgent {
.or(nameStartsWith("org.groovy.")) .or(nameStartsWith("org.groovy."))
.or(nameContains("javassist")) .or(nameContains("javassist"))
.or(nameContains(".asm.")) .or(nameContains(".asm."))
.or(nameContains(".reflectasm."))
.or(nameStartsWith("sun.reflect")) .or(nameStartsWith("sun.reflect"))
.or(allSkyWalkingAgentExcludeToolkit()) .or(allSkyWalkingAgentExcludeToolkit())
.or(ElementMatchers.<TypeDescription>isSynthetic())); .or(ElementMatchers.<TypeDescription>isSynthetic()));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册