You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* getBeanDefinitionNames defensively returns a copy of the bean definition names array.
* copyConfigurationFrom provides an independent AutowireCandidateResolver instance and copies a ConversionService and dependency comparator configuration as well.
* findAutowireCandidates only considers a self reference fallback for direct dependency declarations, not as a collection element.
Issue: SPR-14897
Issue: SPR-14921
Issue: SPR-14965
Copy file name to clipboardExpand all lines: spring-beans/src/test/java/org/springframework/beans/factory/annotation/AutowiredAnnotationBeanPostProcessorTests.java
+67-4
Original file line number
Diff line number
Diff line change
@@ -29,6 +29,7 @@
29
29
importjava.util.HashSet;
30
30
importjava.util.LinkedHashMap;
31
31
importjava.util.LinkedHashSet;
32
+
importjava.util.LinkedList;
32
33
importjava.util.List;
33
34
importjava.util.Map;
34
35
importjava.util.Properties;
@@ -978,11 +979,59 @@ public void testSelfReference() {
0 commit comments