Closed
Description
The Javadoc for SimpleEvaluationContext states that it is:
tailored to support only a subset of the SpEL language syntax, e.g. excluding references to Java types, constructors, and bean references.
Since array allocation is a special kind of constructor we should also disable array allocation in order to adhere to the contract of SimpleEvaluationContext
.
This may be a breaking change for some users. Consequently, this change should likely only be made in Spring Framework 6.0.