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

Vararg methods where the first argument is no vararg can not be called with only the fixed parameters given

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.1
    • 2.1

    Description

      When you have a public String testVarArgsMixed(Integer fixed, Integer[] args) in a class Test, put a test instance in the context and evaluate the expression test.testVarArgsMixed(1), the MethodExecutor is not able to find the method.

      Attachments

        1. jexl-varargs.patch
          5 kB
          Tobias Schulte

        Activity

          People

            henrib Henri Biestro
            tobiasschulte Tobias Schulte
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: