mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-20 12:19:16 +00:00
Fix SharedEntityManagerCreator.createSharedEntityManager to correctly forward an empty array in case that EntityManagerFactoryInfo returns null from getEntityManagerInterface(). Previously the var-args invocation had turned null into an array with a null value which caused a NullPointerException in the call to Proxy.newProxyInstance() further down the call stack. Issue: SPR-10678