SerializedBeanFactoryReference falls back to dummy with specific id
Issue: SPR-17508
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user