henrib opened a new pull request, #423:
URL: https://github.com/apache/commons-jexl/pull/423

   [JEXL-475](https://issues.apache.org/jira/browse/JEXL-475)
   
   When a script declaring a `jexl.options` pragma is evaluated with a context 
that does not provide options
   (a `MapContext` or `null`), `Engine.evalOptions(ASTJexlScript, JexlContext)` 
passed the engine's own options
   instance to `processPragmas`, which modified it; the pragma flags then 
applied to every subsequent evaluation
   on that engine.
   
   Fix: copy the engine options before processing the pragmas of a script that 
declares some.
   Regression test: `Issues400Test.test475` (fails without the fix).
   
   - [x] `mvn` default goal passes
   - [x] AI disclosure: written with Claude Code (Claude Opus 5.5), reviewed by 
the committer.
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to