Skip to content

AspectJ @annotation is not working after upgrade from 6.0.23 to 6.2.6 #34894

Open
@AmuthaKondusamy

Description

@AmuthaKondusamy

Overview

I have a JUnit test which calls a method which in turn uses @annotation call to aspect class.

This setup is working well in spring 6.0.23 version but not in 6.2.6, as @annotation call is not getting triggered and so JUnit test cases are fail for all aspect-related cases.

Kindly help to resolve this issue.

Versions Used

Before upgrade

  • aspectjrt, aspectjweaver: 1.8.7
  • spring-aspect, other spring jars: 6.0.23
  • junit-jupiter: 5.11.0

After upgrade

  • aspectjrt, aspectjweaver: 1.9.24
  • spring-aspect, other spring jars: 6.2.6
  • junit-jupiter: 5.12.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    in: coreIssues in core modules (aop, beans, core, context, expression)status: feedback-reminderWe've sent a reminder that we need additional information before we can continuestatus: waiting-for-feedbackWe need additional information before we can continuestatus: waiting-for-triageAn issue we've not yet triaged or decided on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions