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 2302b30c2b
commit 562351f42f

View File

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