Affects: 5.3
In Spring Boot 2.6, we intend to prohibit circular references by default with a configuration property and Java API to turn it back on again. As part of this, I'd like to update our BeanCurrentlyInCreationFailureAnalyzer
to suggest that, as a last resort, circular references could be turned back on again to possibly break the cycle. I'd like to only suggest this if AbstractAutowireCapableBeanFactory.allowCircularReferences
is false
. Unfortunately, without resorting to reflection, I can't get the flag's value. Could an accessor please be added?