Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document that SpEL expressions using array construction cannot be compiled #32401

Closed
sbrannen opened this issue Mar 8, 2024 · 0 comments
Closed
Assignees
Labels
in: core Issues in core modules (aop, beans, core, context, expression) type: documentation A documentation task
Milestone

Comments

@sbrannen
Copy link
Member

sbrannen commented Mar 8, 2024

SpEL's ConstructorReference supports compilation of expressions that instantiate new objects, but it does not support compilation of expressions that construct new arrays -- for example, via new int[] {1, 2, 3}.

The reference manual should document this limitation.

@sbrannen sbrannen added type: documentation A documentation task in: core Issues in core modules (aop, beans, core, context, expression) labels Mar 8, 2024
@sbrannen sbrannen added this to the 6.1.5 milestone Mar 8, 2024
@sbrannen sbrannen self-assigned this Mar 8, 2024
@sbrannen sbrannen changed the title Document that SpEL expression with array construction cannot be compiled Document that SpEL expressions using array construction cannot be compiled Mar 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core Issues in core modules (aop, beans, core, context, expression) type: documentation A documentation task
Projects
None yet
Development

No branches or pull requests

1 participant