Mathieu Stempell opened SPR-14074 and commented
The last two examples in this chapter miss the '#' SpEL prefix character :
<bean id="numberGuess" class="org.spring.samples.NumberGuess">
<property name="randomNumber" value="{ T(java.lang.Math).random() * 100.0 }"/>
<!-- other properties -->
</bean>
<bean id="shapeGuess" class="org.spring.samples.ShapeGuess">
<property name="initialShapeSeed" value="{ numberGuess.randomNumber }"/>
<!-- other properties -->
</bean>
Affects: 4.2.5
Reference URL: http://docs.spring.io/spring/docs/current/spring-framework-reference/htmlsingle/#expressions-beandef-xml-based
Referenced from: commits 2a715e9, 0c8a40b