Affects: \<4.3.9.RELEASE>
There is some comments In source code of the function (org.springframework.aop.aspectj.AspectJExpressionPointcut#matches(java.lang.reflect.Method, java.lang.Class<?>, boolean)
),
// A match test returned maybe - if there are any subtype sensitive variables
// involved in the test (this, target, at_this, at_target, at_annotation) then
// we say this is not a match as in Spring there will never be a different
// runtime subtype.
Is this mean that if there is no subtype sensitive variables involved in the test (this, target, at_this, at_target, at_annotation) then you say it is match. I think this will be a big risk while judging wheather method match aspect. I have meet the problem before: https://stackoverflow.com/questions/67070980/i-want-to-make-a-aspect-which-will-take-effect-when-i-add-a-annotation-on-the-ty
so i read the source code and locate to the function org.springframework.aop.aspectj.AspectJExpressionPointcut#matches(java.lang.reflect.Method, java.lang.Class<?>, boolean)
.
just tell me something about this ,thanks a lot.
Comment From: SammyXue
as is documented, the aspect is basically applied to all classes