[jira] [Resolved] (JEXL-290) safe navigation fails on chained method calls

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Resolved] (JEXL-290) safe navigation fails on chained method calls

JIRA jira@apache.org

     [ https://issues.apache.org/jira/browse/JEXL-290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Henri Biestro resolved JEXL-290.
--------------------------------
    Resolution: Fixed


https://github.com/apache/commons-jexl/commit/1b5472edd4b50a8c3d3b8ddc41e8e5387d76bad5

> safe navigation fails on chained method calls
> ---------------------------------------------
>
>                 Key: JEXL-290
>                 URL: https://issues.apache.org/jira/browse/JEXL-290
>             Project: Commons JEXL
>          Issue Type: Bug
>    Affects Versions: 3.1
>            Reporter: Henri Biestro
>            Assignee: Henri Biestro
>            Priority: Major
>             Fix For: 3.2
>
>
> JEXL safe navigation either by configuration or by explicit notation (?.) fails on chained method calls when one method is not solvable.
> For example, 'x?.nosuchmethod()?.toString()' should not throw an exception.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)