commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henri Biestro (JIRA)" <>
Subject [jira] Commented: (JEXL-11) [jexl] Don't make null convertible into anything
Date Fri, 17 Jul 2009 14:56:14 GMT


Henri Biestro commented on JEXL-11:

Fixed in 2.0 using the JexlEngine.setLenient(false) method.

> [jexl] Don't make null convertible into anything
> ------------------------------------------------
>                 Key: JEXL-11
>                 URL:
>             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.
You can reply to this email to add a comment to the issue online.

View raw message