commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject [JEXL] 2.0 change of behaviour for expressions - RFC
Date Tue, 01 Sep 2009 09:08:53 GMT
The latest set of SVN updates have changed the behaviour of JEXL 2.0
expressions containing multiple statements, e.g. "1;2;3;"

Previously, the whole script was parsed, but only the first statement
in the expression was evaluated, and a warning message was logged:

WARNING: The JEXL Expression created will be a reference to the first
expression from the supplied script: "1;2;3;"

Expressions are now treated the same as scripts, i.e. all statements
are parsed and evaluated, and the last expression is returned as the
value.

The new behaviour is perhaps closer to JSR-223, but it is a change
which may affect users so I think it needs further discussion.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message