DefaultListableBeanFactory falls back to empty DLBF instance on deserialization
Issue: SPR-15766
This commit is contained in:
@@ -1576,7 +1576,7 @@ public class DefaultListableBeanFactory extends AbstractAutowireCapableBeanFacto
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Lenient fallback: dummy factory in case of original factory not found...
|
// 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