Detect ajc markers in superclasses as well (for weaving check)

Closes gh-33113

(cherry picked from commit 100da83913)
This commit is contained in:
Juergen Hoeller
2024-06-28 11:36:17 +02:00
parent 069d0819dd
commit 09123def57

View File

@@ -545,7 +545,8 @@ public class AspectJExpressionPointcut extends AbstractExpressionPointcut
return true;
}
}
return false;
Class<?> superclass = clazz.getSuperclass();
return (superclass != null && compiledByAjc(superclass));
}