-
Notifications
You must be signed in to change notification settings - Fork 38.7k
Closed
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)status: backportedAn issue that has been backported to maintenance branchesAn issue that has been backported to maintenance branchestype: enhancementA general enhancementA general enhancement
Milestone
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.
Metadata
Metadata
Assignees
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)status: backportedAn issue that has been backported to maintenance branchesAn issue that has been backported to maintenance branchestype: enhancementA general enhancementA general enhancement