Subj : Re: Rhino problem with overloaded functions To : mesuti@aciworldwide.com From : Igor Bukanov Date : Thu Feb 26 2004 12:50 pm mesuti@aciworldwide.com wrote: > > public String jsFunction_toString(Integer enc) { > return new String("test-1"); > } One more thing: use int, not Integer for argument type as specified at http://www.mozilla.org/rhino/apidocs/org/mozilla/javascript/FunctionObject.html#FunctionObject(java.lang.String,%20java.lang.reflect.Member,%20org.mozilla.javascript.Scriptable) .