DefaultListableBeanFactory falls back to empty DLBF instance on deserialization
Issue: SPR-15766
(cherry picked from commit c9ffa64
)
This commit is contained in:
parent
6d7612e052
commit
fd2b4f2427
|
@ -1589,7 +1589,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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue