commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henri Biestro (JIRA)" <>
Subject [jira] Updated: (JEXL-58) UnifiedEL
Date Mon, 13 Jul 2009 21:39:14 GMT


Henri Biestro updated JEXL-58:

    Attachment: JEXL-58.patch

Besides {UnifiedEL,UnifiedELTest}.java, the patch carries some small improvements especially
regarding exception reporting & javadoc.

Quick notes for reviewers:
fixed edge case in debug()

* /
evaluate signature modified (does not throw)
cleaned up remnants of pre/post resolvers

simplified import (import org.apache.commons.jexl.parser.*)
handles ArithmeticException (divide by zero)
added registers for JexlEngine.{set,get}Property
simplified constructor to use JexlEngine, JexlContext
exposed {set,get}Silent method

division by zero ignored only if JexlEngine.isSilent()

improved exception reporting, silent mode logs exceptions as info
ensure derivability (protected fields/methods)
added configurable expression cache
added {set,get}Property methods allowing to set/get properties from any bean using an expression

added division by zero tests

parsing only throws ParserException
added C style in-line comments (/*...*/)

JEXL-32 fixed in 2.0
JEXL-21 wont be fixed but JexlArithmetic can be derived to implement this kind of feature
JEXL-35 JexlEngine / JexlArithmetic are the root points of extensibility

> UnifiedEL
> ---------
>                 Key: JEXL-58
>                 URL:
>             Project: Commons JEXL
>          Issue Type: New Feature
>            Reporter: Henri Biestro
>             Fix For: 2.0
>         Attachments: 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.

View raw message