Skip to content

Commit c681614

Browse files
committed
Merge branch '6.1.x'
2 parents 3715df1 + 100da83 commit c681614

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

spring-aop/src/main/java/org/springframework/aop/aspectj/AspectJExpressionPointcut.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -540,7 +540,8 @@ private static boolean compiledByAjc(Class<?> clazz) {
540540
return true;
541541
}
542542
}
543-
return false;
543+
Class<?> superclass = clazz.getSuperclass();
544+
return (superclass != null && compiledByAjc(superclass));
544545
}
545546

546547

0 commit comments

Comments
 (0)