commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 31189] New: - Don't make null convertible into anything
Date Sun, 12 Sep 2004 20:17:36 GMT
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


Mime
View raw message