Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
1.5.6
-
None
Description
This is an example :
public class Test{
public Object getReturnValue(Object a, int b)
private Object getReturnValue(Integer a, int b,
Object[] arr)
}
if in the script we call the first method, groovy calls directly the second...
x = new Test();
x.getReturnValue(new Integer(1),1)
returns "i".
If the last arg is not an array it's ok.