Skip to content

spring-aspects produces aspectj compiler warnings "adviceDidNotMatch" [SPR-12239] #16853

Closed
@spring-projects-issues

Description

@spring-projects-issues

Janning Vygen opened SPR-12239 and commented

I was adding spring-aspects to use @Transactional with compile time weaving. With STS the AJDT eclipse module produces a warning like

org.springframework.mock.staticmock.AbstractMethodMockingControl has not been applied [Xlint:adviceDidNotMatch]

All advices in the spring-aspects lib should have @SuppressAjWarning
Some already have like AbstractTransactionAspect in line 59


Affects: 4.1 GA

Issue Links:

Referenced from: commits 439ea90, 6950d55

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: taskA general task

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions