DefaultListableBeanFactory falls back to empty DLBF instance on deserialization
Issue: SPR-15766
(cherry picked from commit c9ffa64)
This commit is contained in:
@@ -1589,7 +1589,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