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

Avoid unnecessary compilation attempts in SpEL's Indexer #32677

Closed
sbrannen opened this issue Apr 19, 2024 · 0 comments
Closed

Avoid unnecessary compilation attempts in SpEL's Indexer #32677

sbrannen opened this issue Apr 19, 2024 · 0 comments
Assignees
Labels
in: core Issues in core modules (aop, beans, core, context, expression) type: enhancement A general enhancement
Milestone

Comments

@sbrannen
Copy link
Member

In the current implementation of SpEL's Indexer, the exitTypeDescriptor is sometimes ignored when checking whether the expression is compilable, and sometimes the exitTypeDescriptor is tracked for a failed evaluation attempt.

That behavior results in attempts to compile expressions which cannot be compiled, which should be avoided.

@sbrannen sbrannen added in: core Issues in core modules (aop, beans, core, context, expression) type: enhancement A general enhancement labels Apr 19, 2024
@sbrannen sbrannen added this to the 6.2.0-M2 milestone Apr 19, 2024
@sbrannen sbrannen self-assigned this Apr 19, 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: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

1 participant