Forum Discussion

pskitsme92's avatar
pskitsme92
Occasional Contributor
4 years ago

Calling Java function from groovy script

Hej  We are working with testing API and GUI, for that we have implemented a Java util and aded the JAR file. We have managed to call the functions with simple types, and list f sting, now we have f...
  • pskitsme92's avatar
    pskitsme92
    4 years ago

    Thanks for reply, but we fixed the issue although it does not make much sense, the fix was in changing declaration from

    Integer [] lstint = [1,2,3] 

      the solution: 

    int [] lstint = [1,2,3] 

    Although as for my knowledge the int is casted to Integer !!