提交 630e6231 编写于 作者: X Xin,Zhang 提交者: wu-sheng

Fix #1454: fix NPE issue about spring apo interceptor (#1467)

上级 7744911c
......@@ -44,7 +44,8 @@ public class CreateAopProxyInterceptor implements InstanceMethodsAroundIntercept
Object ret) throws Throwable {
AdvisedSupport advisedSupport = (AdvisedSupport)allArguments[0];
if (EnhancedInstance.class.isAssignableFrom(advisedSupport.getTargetClass())) {
Class targetClass = advisedSupport.getTargetClass();
if (targetClass != null && EnhancedInstance.class.isAssignableFrom(targetClass)) {
return true;
}
return ret;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册