You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Henri Biestro (JIRA)" <ji...@apache.org> on 2015/07/31 10:04:05 UTC

[jira] [Reopened] (JEXL-171) Map access operator does not work if key name clashes with map property name

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

Henri Biestro reopened JEXL-171:
--------------------------------

Need to revisit resolving strategy customization.
Per-class strategy ?
Annotations and/or configuration ?
Should we differentiate '.' and '[]'? 

> Map access operator does not work if key name clashes with map property name
> ----------------------------------------------------------------------------
>
>                 Key: JEXL-171
>                 URL: https://issues.apache.org/jira/browse/JEXL-171
>             Project: Commons JEXL
>          Issue Type: Bug
>    Affects Versions: 3.0
>            Reporter: Dmitri Blinov
>            Assignee: Henri Biestro
>            Priority: Critical
>             Fix For: 3.0
>
>
> The following example returns *false*, according to documentation should return *2*.
> i = new ("java.util.HashMap"); i.a = 1; i["empty"] = 2; i["empty"] 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)