[ http://issues.apache.org/jira/browse/JEXL-11?page=all ]
Rahul Akolkar updated JEXL-11:
------------------------------
Bugzilla Id: (was: 31189)
Fix Version/s: 2.0
Update fix version per earlier comment.
> [jexl] Don't make null convertible into anything
> ------------------------------------------------
>
> Key: JEXL-11
> URL: http://issues.apache.org/jira/browse/JEXL-11
> Project: Commons JEXL
> Issue Type: Improvement
> Affects Versions: 1.0
> Environment: Operating System: other
> Platform: Other
> Reporter: Paul Libbrecht
> Priority: Minor
> Fix For: 2.0
>
>
> Currently JEXL is very tolerant with null (and unresolved variables)...
> I am unsure now but I think null will become false if the output of a test,
> null will become the empty
> string if concatenated to a string, null will become the number zero when
> added. Moreover,
> invoking a method on null gives you... null...
> I would love a switch that just disables all this (I think this would impact
> quite a lot) allowing my jexl
> snippets to be quite more predictable!
> paul
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]