Artem Bilan opened SPR-12040 and commented
The simple test-case to reproduce:
@Test
public void testSpelCompiler () {
SpelParserConfiguration configuration =
new SpelParserConfiguration(SpelCompilerMode.IMMEDIATE, this.getClass().getClassLoader());
Expression expression = new SpelExpressionParser(configuration)
.parseExpression("payload / 2");
expression.getValue(new GenericMessage<Integer>(4));
expression.getValue(new GenericMessage<Integer>(6));
}
Affects: 4.1 RC1
Referenced from: commits 59080ff