SerializedBeanFactoryReference falls back to dummy with specific id
Issue: SPR-17508
This commit is contained in:
parent
02d3cfa42d
commit
f5aeb81473
|
@ -1748,7 +1748,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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue