You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Dmitri Blinov (JIRA)" <ji...@apache.org> on 2019/05/08 13:50:00 UTC
[jira] [Created] (JEXL-298) Unable to call 'empty' and 'size'
member methods with parameters
Dmitri Blinov created JEXL-298:
----------------------------------
Summary: Unable to call 'empty' and 'size' member methods with parameters
Key: JEXL-298
URL: https://issues.apache.org/jira/browse/JEXL-298
Project: Commons JEXL
Issue Type: Bug
Affects Versions: 3.1
Reporter: Dmitri Blinov
It's not possible to parse scripts like
{code:java}
x.size(0){code}
or
{code:java}
x.empty(0){code}
because of current syntax restrictions.
{{empty}} and {{size}} are perfectly valid method identifiers in java, and though uncommon, can be declared with arguments. As of now Jexl allows only to call parameterless {{empty}} and {{size}} methods
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)