-
Notifications
You must be signed in to change notification settings - Fork 38.8k
Description
Liu, Yinwei David opened SPR-6563 and commented
We encounter two issues when we configured conversionService in Spring config file. Please see attached test case:
Java:
public class TestBean{
private List<String> addresses;
...
}
Config:
<bean id="conversionService" class="org.springframework.context.support.ConversionServiceFactoryBean" />
<bean class="TestBean">
<property name="addresses">
<list>
<value>#{'test-' + strValue + '-end'}</value>
<value>#{'test-' + strValue}</value>
<value>#{'test-' + numValue+ '-end'}</value>
<value>#{'test-' + numValue}</value>
</list>
</property>
</bean>
<bean id="numValue" class="java.lang.Integer" >
<constructor-arg value="111"/>
</bean>
<bean id="strValue" class="java.lang.String" >
<constructor-arg value="222"/>
</bean>
Affects: 3.0 RC3
Referenced from: commits 1c33206