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)