mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
DefaultListableBeanFactory falls back to empty DLBF instance on deserialization
Issue: SPR-15766
This commit is contained in:
+1
-1
@@ -1576,7 +1576,7 @@ public class DefaultListableBeanFactory extends AbstractAutowireCapableBeanFacto
|
||||
}
|
||||
}
|
||||
// Lenient fallback: dummy factory in case of original factory not found...
|
||||
return new StaticListableBeanFactory(Collections.<String, Object> emptyMap());
|
||||
return new DefaultListableBeanFactory();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user