Calling varargs method without varargs parameter.
807591Mar 11 2008 — edited Mar 12 2008Hello
I really appreciate your help on clarifying the following problem.
1) I have method signature as
public User validateUser(User usr, boolean isLogin,Object...args)
2) When I call this method as
obj.validateUser(usrObject,true);
In windows environment, the method implementation specified in 1) is called and no issues.
But, when the same code is deployed on linux, I get the following error
java.lang.NoSuchMethodError: com.mysubpackage.dao.myobject.*validateUser(Lcom/startf orce/system/User;Z)Lcom/startforce/system/User;*
Please let me know, if there is any known incompatibility issue out there between windows and linux.
Thanks
Muthu