Closed
Description
Jakub Bochenski opened SPR-13741 and commented
Basically what was reported on SO
Offending line: ```
Map<String, T> candidateBeans = BeanFactoryUtils.beansOfTypeIncludingAncestors(bf, beanType);
Affects: 3.2.15, 4.1.8, 4.2.3
Reference URL: https://stackoverflow.com/questions/27177364/spring-candidate-bean-type-strategy-is-bad
Issue Links:
- Avoid creation of lazy candidates when the primary bean is injected [SPR-14611] #19178 Avoid creation of lazy candidates when the primary bean is injected