commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henri Biestro (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (JEXL-279) Null variables property access do not throw exceptions
Date Wed, 26 Dec 2018 17:12:00 GMT

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

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

- refined logic to discriminate undefined vs null variables or properties

https://github.com/apache/commons-jexl/commit/23c45771d63da0746d86c83d20b8b2f4019d4598

> Null variables property access do not throw exceptions
> ------------------------------------------------------
>
>                 Key: JEXL-279
>                 URL: https://issues.apache.org/jira/browse/JEXL-279
>             Project: Commons JEXL
>          Issue Type: Bug
>    Affects Versions: 3.1
>            Reporter: Henri Biestro
>            Assignee: Henri Biestro
>            Priority: Major
>             Fix For: 3.2
>
>
> If 'x' is a null variable, 'x[0]' does not throw an exception even in strict mode. It
should.



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

Mime
View raw message