Restore original factory method caching (addressing Boot regressions)
Issue: SPR-17358
This commit is contained in:
@@ -775,11 +775,6 @@ public abstract class AbstractAutowireCapableBeanFactory extends AbstractBeanFac
|
||||
}
|
||||
}
|
||||
|
||||
if (uniqueCandidate != null) {
|
||||
synchronized (mbd.constructorArgumentLock) {
|
||||
mbd.resolvedConstructorOrFactoryMethod = uniqueCandidate;
|
||||
}
|
||||
}
|
||||
if (commonType == null) {
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user