Sneaked in test for covariant return type narrowing in a getter method

Issue: SPR-10995
This commit is contained in:
Juergen Hoeller
2013-10-26 15:14:31 +02:00
parent 109faaced8
commit 614387fe0e
2 changed files with 7 additions and 3 deletions

View File

@@ -35,11 +35,10 @@
</property>
</bean>
<bean id="pJenny" class="org.springframework.tests.sample.beans.TestBean" scope="prototype">
<bean id="pJenny" class="org.springframework.tests.sample.beans.DerivedTestBean" scope="prototype">
<property name="name"><value>Jenny</value></property>
<property name="age"><value>30</value></property>
<property name="spouse">
<!-- Could use id and href -->
<ref local="david"/>
</property>
</bean>