consistent caching of @Autowired arguments in field and method case (SPR-7635)
This commit is contained in:
@@ -567,9 +567,6 @@ public class AutowiredAnnotationBeanPostProcessor extends InstantiationAwareBean
|
|||||||
this.cachedMethodArguments[i] = new RuntimeBeanReference(autowiredBeanName);
|
this.cachedMethodArguments[i] = new RuntimeBeanReference(autowiredBeanName);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
|
||||||
this.cachedMethodArguments[i] = arguments[i];
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user