[
https://issues.apache.org/jira/browse/JEXL-19?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12721377#action_12721377
]
Henri Biestro commented on JEXL-19:
-----------------------------------
This is fixed in 2.0 trunk (ternary operator + GNU C extension in jexl-55).
Which means "name != null ? name : 'default' " <=> " name?: 'default' "
> Ternary conditional not supported
> ---------------------------------
>
> Key: JEXL-19
> URL: https://issues.apache.org/jira/browse/JEXL-19
> Project: Commons JEXL
> Issue Type: Bug
> Affects Versions: 1.1
> Environment: Linux, JDK 5
> Reporter: Jesse Glick
> Fix For: 2.0
>
>
> Although the JEXL docs seem to imply that it is a superset of EL, it does not
> appear to support the ternary conditional, i.e.
> name != null ? name : 'default'
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.