Skip to content

Cyclic bean methods cause IllegalArgumentException instead of BeanCurrentlyInCreationException [SPR-17358] #19778

Closed
@spring-projects-issues

Description

@spring-projects-issues

Madhura Bhave opened SPR-17358 and commented

Following some recent changes on master, tests related to BeanCurrentlyInCreationException in Spring Boot have started failing. These tests expect the cyclic beans to throw a BeanCurrentlyInCreationException but instead we get a IllegalArgumentException: wrong number of arguments

It might be related to the change here.


Affects: 5.1.1

Issue Links:

0 votes, 5 watchers

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