commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henri Biestro (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JEXL-58) UnifiedJEXL
Date Wed, 15 Jul 2009 05:29:14 GMT

    [ https://issues.apache.org/jira/browse/JEXL-58?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12731279#action_12731279
] 

Henri Biestro commented on JEXL-58:
-----------------------------------

Thanks for the commit; I checked it & everything seems fine.

About the JexlException, the JexlEngine as it stands & in 1.0 does a lot to avoid throwing
exceptions, using null & 0 as a result when things get bad even when not in silent mode,
almost to the point of being failsafe in all cases. As pointed by JEXL-10 & JEXL-11, it
would make sense to allow for some "stricter" evaluation mode.
This would leave the choice to users; those who like the "lenient" mode dont have to deal
with exception and the engine does produce warnings in the logs when appropriate and users
who would like a strict mode will want to catch & handle them.
It just did not seem necessary to keep those as checked exceptions when none could be thrown.

This also explains the warnings while running the tests btw (helpfull to visually check that
the "debugger" features work); putting the logger in error should fix it.


> UnifiedJEXL
> -----------
>
>                 Key: JEXL-58
>                 URL: https://issues.apache.org/jira/browse/JEXL-58
>             Project: Commons JEXL
>          Issue Type: New Feature
>            Reporter: Henri Biestro
>            Assignee: Rahul Akolkar
>             Fix For: 2.0
>
>         Attachments: JEXL-58.patch, JEXL-58.patch, JEXL-58.patch
>
>
>  An evaluator similar to the unified EL evaluator used in JSP/JSF based on JEXL.
>  It is intended to be used in configuration modules, XML based frameworks or JSP taglibs.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message