Skip to content

JEXL-459: fix empty/size functions to handle exceptions properly;#402

Open
henrib wants to merge 2 commits into
masterfrom
JEXL-459
Open

JEXL-459: fix empty/size functions to handle exceptions properly;#402
henrib wants to merge 2 commits into
masterfrom
JEXL-459

Conversation

@henrib
Copy link
Copy Markdown
Contributor

@henrib henrib commented May 26, 2026

Added JexlArithmetic.evaluate() method to handle Supplier argument evaluation with proper exception logging
Previously, the empty() and size() operators would silently swallow JexlExceptions with no diagnostic information
Now logs warnings when exceptions occur during argument evaluation, improving debuggability
The method is public and overridable to allow custom exception handling strategies

Copilot AI review requested due to automatic review settings May 26, 2026 18:08
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants