I created a Maven project to test the AOP notification order, but I find that when the version of Spring-context in the pom. xml file is 5.2.13-RELEASE and 5.2.5-RELEASE, I get different results. I wonder if this is a bug or if it was intentionally changed.  What if it was intentionally changed?  Could you please tell me the reason? Please check the attached picture issue picture

aoptestone.zip

Comment From: weixiaobaoL

It's because https://github.com/spring-projects/spring-framework/issues/25186 for support declared method of the java7 not matched the source code.

Comment From: sbrannen

As @weixiaobaoL pointed out, this change in behavior was intentional.

See:

  • 25186

  • 26202

In light of that I am closing this issue.