Leniently allow constructor argument matches if required name is not resolvable

Issue: SPR-13987
This commit is contained in:
Juergen Hoeller
2016-03-18 18:51:33 +01:00
parent 455bf45fa4
commit 431ca9314a
4 changed files with 14 additions and 8 deletions

View File

@@ -231,4 +231,8 @@
<constructor-arg name="initialValue" value="1"/>
</bean>
<bean id="constructorUnresolvableNameWithIndex" class="java.util.concurrent.atomic.AtomicInteger" scope="prototype">
<constructor-arg index="0" name="initialValue" value="1"/>
</bean>
</beans>