mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Ensure bottom-up semantics in resolveDefaultContextConfigurationAttributes()
Closes gh-31456
This commit is contained in:
+1
-1
@@ -243,7 +243,7 @@ abstract class ContextLoaderUtils {
|
||||
private static void resolveDefaultContextConfigurationAttributes(
|
||||
List<ContextConfigurationAttributes> results, Class<?> testClass) {
|
||||
|
||||
results.add(0, new ContextConfigurationAttributes(testClass));
|
||||
results.add(new ContextConfigurationAttributes(testClass));
|
||||
|
||||
Class<?> superclass = testClass.getSuperclass();
|
||||
if (superclass != null && superclass != Object.class) {
|
||||
|
||||
Reference in New Issue
Block a user