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

Closes gh-33113
This commit is contained in:
Juergen Hoeller
2024-06-28 11:36:17 +02:00
parent e881c70a93
commit 100da83913

View File

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