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
Prior to this commit, an infinite recursion would occur if a
@configuration class were nested within its superclass, e.g.
abstract class Parent {
@configuration
static class Child extends Parent { ... }
}
This is because the processing of the nested class automatically
checks the superclass hierarchy for certain reasons, and each
superclass is in turn checked for nested @configuration classes.
The ConfigurationClassParser implementation now prevents this by
keeping track of known superclasses, i.e. once a superclass has been
processed, it is never again checked for nested classes, etc.
Issue: SPR-8955
Copy file name to clipboardexpand all lines: org.springframework.context/src/main/java/org/springframework/context/annotation/ConfigurationClassParser.java
+31-18
Original file line number
Diff line number
Diff line change
@@ -77,6 +77,8 @@ class ConfigurationClassParser {
0 commit comments