-
Notifications
You must be signed in to change notification settings - Fork 38.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Accept ajc-compiled @Aspect
classes for Spring AOP proxy usage
#32793
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
status: backported
An issue that has been backported to maintenance branches
type: enhancement
A general enhancement
Milestone
Comments
jhoeller
added
in: core
Issues in core modules (aop, beans, core, context, expression)
type: enhancement
A general enhancement
labels
May 10, 2024
jhoeller
added a commit
that referenced
this issue
May 10, 2024
github-actions
bot
added
status: backported
An issue that has been backported to maintenance branches
and removed
for: backport-to-6.0.x
labels
May 14, 2024
jhoeller
added a commit
that referenced
this issue
May 14, 2024
AspectJExpressionPointcut leniently ignores unsupported expression. Closes gh-32793
jhoeller
added a commit
that referenced
this issue
May 14, 2024
AspectJExpressionPointcut leniently ignores unsupported expression. Closes gh-32793
jhoeller
added a commit
that referenced
this issue
May 17, 2024
jhoeller
added a commit
that referenced
this issue
May 22, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
status: backported
An issue that has been backported to maintenance branches
type: enhancement
A general enhancement
In order to ship
@Aspect
classes for usage with Spring AOP proxies as well as AspectJ load-time and compile-time weaving, they need to be fully compiled with ajc. This is the case for Micrometer'sTimedAspect
: micrometer-metrics/micrometer#1149Our
isAspect()
check inAbstractAspectJAdvisorFactory
does not accept ajc-compiled classes since it assumes that those are classic aspect classes which are not suitable for usage with Spring AOP. Let's relax that check, we only really needisAspect()
to tell us what we need to introspect; we do not need it to determine actual advice compatibility.The text was updated successfully, but these errors were encountered: