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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.1
    • Fix Version/s: 2.1
    • Labels:

      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

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: