Closed
Description
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:
- "IllegalArgumentException: wrong number of arguments" is thrown instead of NoUniqueBeanDefinitionException [SPR-17361] #21894 "IllegalArgumentException: wrong number of arguments" is thrown instead of NoUniqueBeanDefinitionException ("is duplicated by")
- Convenient programmatic bean retrieval with qualifiers [SPR-8891] #13532 Convenient programmatic bean retrieval with qualifiers
0 votes, 5 watchers