You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2004/09/12 22:17:36 UTC
DO NOT REPLY [Bug 31189] New: -
Don't make null convertible into anything
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31189>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=31189
Don't make null convertible into anything
Summary: Don't make null convertible into anything
Product: Commons
Version: 1.0 Final
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: Other
Component: JEXL
AssignedTo: commons-dev@jakarta.apache.org
ReportedBy: paul@activemath.org
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
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org