Add cycles to core-beans: the circular-dependency failure report, what allow-circular-references repairs and hides, and four fixes on Boot 4.1

Co-Authored-By: Claude Sonnet 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Uu7q8vPeREyT4218EJPzz1
This commit is contained in:
Claude
2026-09-24 06:29:14 +00:00
parent 51f3ecd5da
commit d6a2e1a5f2
61 changed files with 1545 additions and 8 deletions
@@ -0,0 +1,23 @@
# Who hands out an early reference, and the handler in preInstantiateSingleton (Spring Framework 7.0.9 jars)
--- the class that draws the report, in spring-boot-4.1.1.jar ---
org/springframework/boot/diagnostics/analyzer/BeanCurrentlyInCreationFailureAnalyzer$BeanInCycle.class
org/springframework/boot/diagnostics/analyzer/BeanCurrentlyInCreationFailureAnalyzer$DependencyCycle.class
org/springframework/boot/diagnostics/analyzer/BeanCurrentlyInCreationFailureAnalyzer.class
--- AbstractAutoProxyCreator (spring-aop): declared methods that mention 'early' ---
private final java.util.Map<java.lang.Object, java.lang.Object> earlyBeanReferences;
public java.lang.Object getEarlyBeanReference(java.lang.Object, java.lang.String);
--- AbstractAdvisingBeanPostProcessor (spring-aop): declared members that mention 'early' ---
matches: 0
--- the @Async post-processor's ancestry ---
class org.springframework.scheduling.annotation.AsyncAnnotationBeanPostProcessor extends org.springframework.aop.framework.autoproxy.AbstractBeanFactoryAwareAdvisingPostProcessor
class org.springframework.aop.framework.autoproxy.AbstractBeanFactoryAwareAdvisingPostProcessor extends org.springframework.aop.framework.AbstractAdvisingBeanPostProcessor
--- DefaultListableBeanFactory.preInstantiateSingleton(String, RootBeanDefinition): exception table ---
Exception table:
from to target type
157 162 165 Class org/springframework/beans/factory/BeanCurrentlyInCreationException