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-07-03 17:12:08 +02:00
parent 069d0819dd
commit 09123def57
@@ -545,7 +545,8 @@ public class AspectJExpressionPointcut extends AbstractExpressionPointcut
return true;
}
}
return false;
Class<?> superclass = clazz.getSuperclass();
return (superclass != null && compiledByAjc(superclass));
}