Author: henrib Date: Thu Sep 3 07:45:27 2009 New Revision: 810797 URL: http://svn.apache.org/viewvc?rev=810797&view=rev Log: Added integer division behavior change; added (some of the) new features
Modified: commons/proper/jexl/branches/2.0/RELEASE-NOTES.txt Modified: commons/proper/jexl/branches/2.0/RELEASE-NOTES.txt URL: http://svn.apache.org/viewvc/commons/proper/jexl/branches/2.0/RELEASE-NOTES.txt?rev=810797&r1=810796&r2=810797&view=diff ============================================================================== --- commons/proper/jexl/branches/2.0/RELEASE-NOTES.txt (original) +++ commons/proper/jexl/branches/2.0/RELEASE-NOTES.txt Thu Sep 3 07:45:27 2009 @@ -54,9 +54,35 @@ * Info.getTemplateName() - use Info.getName() instead +Division (/ operator) behavior change: + * Division between integers no longer casts its operands to double; integer division + allways results in a integer. + New Features: ============= +Assignment expression: a = b (and a.b.c = d) + * Assigns a variable (ant-like variable or bean-property) + +Ternary operator expression: a ? b : c (and a ?: c) + * The usual inline conditional shortcut and its 'Elvis' form (a ?: b evaluates as a ? a : b) + +Constructor call expression: new('my.class.name', arguments...) + * Creates a new instance of a class using the most appropriate constructor according + to the actual arguments + +Function namespace: ns:func(arguments...) + * A function namespaces allows to use a class or instance methods in function calls + +UnifiedJEXL + * Adds ${...} and #{...} JSP/EL syntax support on top of the JexlEngine + +JSR-223 support + * Implement JSR-223 Scripting Engine for JEXL script (need BSF-3.0 on Java < 6) + +Error and exception handling + * Configuring the leniency and verbosity of the Jexl engine allows user control over the + error handling policy Bugs fixed: ===========