提交 22f4b1ce 编写于 作者: J Juergen Hoeller

SerializedBeanFactoryReference falls back to dummy with specific id

Issue: SPR-17508

(cherry picked from commit f5aeb814)
上级 abacc6d2
......@@ -1574,7 +1574,9 @@ public class DefaultListableBeanFactory extends AbstractAutowireCapableBeanFacto
}
}
// Lenient fallback: dummy factory in case of original factory not found...
return new DefaultListableBeanFactory();
DefaultListableBeanFactory dummyFactory = new DefaultListableBeanFactory();
dummyFactory.serializationId = this.id;
return dummyFactory;
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册