commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitri Blinov (JIRA)" <j...@apache.org>
Subject [jira] [Created] (JEXL-209) Unsolvable function/method '<?>.<null>(...)'
Date Wed, 03 Aug 2016 10:09:20 GMT
Dmitri Blinov created JEXL-209:
----------------------------------

             Summary: Unsolvable function/method '<?>.<null>(...)'
                 Key: JEXL-209
                 URL: https://issues.apache.org/jira/browse/JEXL-209
             Project: Commons JEXL
          Issue Type: Bug
    Affects Versions: 3.0
            Reporter: Dmitri Blinov


The following code throws error *Unsolvable function/method*
{code}
x = new('java.util.HashMap'); x.a = function() {return 1}; x['a']()
{code}
while the following code evaluates as expected
{code}
x = new('java.util.HashMap'); x.a = function() {return 1}; x.a()
{code}
and returns 1



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

Mime
View raw message