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 2023/03/27 11:00:00 UTC

[jira] [Closed] (JEXL-368) Namespace functor resolution is not cached

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

Henri Biestro closed JEXL-368.
------------------------------

> Namespace functor resolution is not cached
> ------------------------------------------
>
>                 Key: JEXL-368
>                 URL: https://issues.apache.org/jira/browse/JEXL-368
>             Project: Commons JEXL
>          Issue Type: Bug
>    Affects Versions: 3.2.1
>            Reporter: Henri Biestro
>            Assignee: Henri Biestro
>            Priority: Minor
>             Fix For: 3.3
>
>
> WHAT:
> It appears that when the namespace points to a class, its constructor (wrapped in the JexlMethod) is not cached properly in the corresponding JexlNode. Incidentally, the call to the cached method is wrong too. (Detected through jacoco coverage).
> HOW:
> Cache the method/ctor (as a NamespaceFunctor) in the namespace identifier (the first child), not the method/funcalll node.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)