Uploaded image for project: 'Commons JEXL'
  1. Commons JEXL
  2. JEXL-368

Namespace functor resolution is not cached

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.2.1
    • 3.3
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              henrib Henri Biestro
              henrib Henri Biestro
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: