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

Unable to call 'empty' and 'size' member methods with parameters

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.1
    • 3.2
    • None

    Description

      It's not possible to parse scripts like

      x.size(0)

      or

      x.empty(0)

      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

      Attachments

        Activity

          People

            henrib Henri Biestro
            dmitri_blinov Dmitri Blinov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: