You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Disable SpEL expression compilation by default in SimpleEvaluationContext #37035
changed the title [-]Improve documentation for SpEL compilation support[/-][+]Disable SpEL expression compilation by default in `SimpleEvaluationContext`[/+]on Aug 21, 2026
Attention Required: In Spring Framework 7.0.9, SimpleEvaluationContext no longer supports expression compilation by default, regardless of the compiler mode configured via SpelParserConfiguration or the spring.expression.compiler.mode system property or Spring property. Applications that intentionally use SimpleEvaluationContext with trusted expressions and require compilation for performance reasons can opt in by calling withCompilationSupported() on the SimpleEvaluationContext builder. Care should be taken when opting in to compilation, as doing so removes the safety guards applied during interpreted evaluation.
Activity
surangamadhushan24 commentedon Aug 5, 2026
sbrannen commentedon Aug 5, 2026
Disable SpEL expression compilation by default in SimpleEvaluationConâĶ
Disable SpEL expression compilation by default in SimpleEvaluationConâĶ
[-]Improve documentation for SpEL compilation support[/-][+]Disable SpEL expression compilation by default in `SimpleEvaluationContext`[/+]sbrannen commentedon Aug 21, 2026
Attention Required: In Spring Framework 7.0.9,
SimpleEvaluationContextno longer supports expression compilation by default, regardless of the compiler mode configured viaSpelParserConfigurationor thespring.expression.compiler.modesystem property or Spring property. Applications that intentionally useSimpleEvaluationContextwith trusted expressions and require compilation for performance reasons can opt in by callingwithCompilationSupported()on theSimpleEvaluationContextbuilder. Care should be taken when opting in to compilation, as doing so removes the safety guards applied during interpreted evaluation.Re-implementation of: Disable SpEL expression compilation by default âĶ