@ -303,12 +303,11 @@ public class DefaultSingletonBeanRegistry extends SimpleAliasRegistry implements
@@ -303,12 +303,11 @@ public class DefaultSingletonBeanRegistry extends SimpleAliasRegistry implements
@ -317,11 +316,15 @@ public class DefaultSingletonBeanRegistry extends SimpleAliasRegistry implements
@@ -317,11 +316,15 @@ public class DefaultSingletonBeanRegistry extends SimpleAliasRegistry implements
Thread.currentThread().interrupt();
}
}
returnsingletonObject;
}
finally{
this.lenientCreationLock.unlock();
}
if(singletonObject!=null){
returnsingletonObject;
}
if(locked){
throwex;
}
// Try late locking for waiting on specific bean to be finished.