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
Fix @condition evaluation to also consider super classes for both
@configuration classes and regular @components. This change allows
@conditional annotations to be inherited and restores the previous
behavior of @Profile.
Issue: SPR-10840
Copy file name to clipboardExpand all lines: spring-context/src/main/java/org/springframework/context/annotation/ClassPathScanningCandidateComponentProvider.java
Copy file name to clipboardExpand all lines: spring-context/src/main/java/org/springframework/context/annotation/ConfigurationClassBeanDefinitionReader.java
+11-2
Original file line number
Diff line number
Diff line change
@@ -380,13 +380,22 @@ public boolean shouldSkip(ConfigurationClass configClass) {
Copy file name to clipboardExpand all lines: spring-context/src/test/java/org/springframework/context/annotation/ConfigurationClassWithConditionTests.java
0 commit comments