Skip to content

Regression: Early instantiation of a bean prevents proxying for @Async in 4.2.x but works in 4.1.x [SPR-14030] #18602

Closed
@spring-projects-issues

Description

@spring-projects-issues

Andy Wilkinson opened SPR-14030 and commented

There's a behaviour difference between 4.2.x and 4.1.x around proxy creation for beans with @Async methods. When using 4.2.x, early instantiation of the bean makes it ineligible for proxying. It works fine with 4.1.x.

I'll submit a spring-framework-issues PR with a test that illustrates the problem once I've got the issue number.


Affects: 4.2.5

Reference URL: spring-projects/spring-boot#5366

Issue Links:

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions