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
Correctly order @AutoConfigureAfter values when sorting
Update `AutoConfigurationSorter` so that `getClassesRequestedAfter()` results are sorted to match the earlier name/order sorting. Prior to this commit the order of items added via `@AutoConfigureAfter` was in an undetermined order which could cause very subtle `@ConditionalOnBean` bugs. Thanks very much to Alexandre Baron for their help in diagnosing and reproducing this issue. Fixesgh-38904
Copy file name to clipboardExpand all lines: spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/AutoConfigurationSorter.java
Copy file name to clipboardExpand all lines: spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/AutoConfigurationSorterTests.java
0 commit comments