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 2022/04/30 09:25:00 UTC

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

Henri Biestro created JEXL-368:
----------------------------------

             Summary: 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
             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 in the namespace identifier (the first child), not the namespace node.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)