Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 24157200B5A for ; Thu, 4 Aug 2016 15:48:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 2276B160AAE; Thu, 4 Aug 2016 13:48:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 91BF6160A6A for ; Thu, 4 Aug 2016 15:48:21 +0200 (CEST) Received: (qmail 2578 invoked by uid 500); 4 Aug 2016 13:48:20 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 2560 invoked by uid 99); 4 Aug 2016 13:48:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Aug 2016 13:48:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 8BA9B2C0D5D for ; Thu, 4 Aug 2016 13:48:20 +0000 (UTC) Date: Thu, 4 Aug 2016 13:48:20 +0000 (UTC) From: "Henri Biestro (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (JEXL-209) Unsolvable function/method '.(...)' MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 04 Aug 2016 13:48:22 -0000 [ https://issues.apache.org/jira/browse/JEXL-209?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Henri Biestro resolved JEXL-209. -------------------------------- Resolution: Fixed RELEASE-NOTES.txt src/main/java/org/apache/commons/jexl3/internal/Interpreter.java src/site/xdoc/changes.xml src/test/java/org/apache/commons/jexl3/IssuesTest.java Committed revision 1755186. > Unsolvable function/method '.(...)' > -------------------------------------------- > > 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 > Assignee: Henri Biestro > Fix For: 3.0.1 > > > 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)