提交 ed5a1fc2 编写于 作者: 刘新元 Liu XinYuan 提交者: wu-sheng

solve dubbo and service class without method intercept failure (#3362)

上级 cadaab03
......@@ -239,7 +239,7 @@ public class MakeWrapperInterceptor implements StaticMethodsAroundInterceptor {
return false;
}
for (Method m : methods) {
if (m.getDeclaringClass() != Object.class) {
if (m.getDeclaringClass() != Object.class && !"getSkyWalkingDynamicField".equals(m.getName()) && !"setSkyWalkingDynamicField".equals(m.getName())) {
return true;
}
}
......
......@@ -242,7 +242,7 @@ public class MakeWrapperInterceptor implements StaticMethodsAroundInterceptor {
return false;
}
for (Method m : methods) {
if (m.getDeclaringClass() != Object.class) {
if (m.getDeclaringClass() != Object.class && !"getSkyWalkingDynamicField".equals(m.getName()) && !"setSkyWalkingDynamicField".equals(m.getName())) {
return true;
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册