Merge branch '1.3.x'

This commit is contained in:
Dave Syer
2017-12-15 16:20:56 +00:00

View File

@@ -93,7 +93,7 @@ public class ConfigurationPropertiesRebinder
if (this.applicationContext != null) {
try {
Object bean = this.applicationContext.getBean(name);
if (AopUtils.isCglibProxy(bean)) {
if (AopUtils.isAopProxy(bean)) {
bean = getTargetObject(bean);
}
this.applicationContext.getAutowireCapableBeanFactory().destroyBean(bean);