On Jul 31, 6:33 am, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> On Jul 30, 1:22 pm, Ivan Voras <[EMAIL PROTECTED]> wrote:

> > So, how to create a hosted Java class accessible to the JS code with a
> > varargs constructor?
>
> There is also an extended form of jsConstructor which includes a list
> args.
>     public static Scriptable jsConstructor(Context cx, Object[] args,
> Function ctorObj, boolean inNewExpr);

Thanks, this worked! I don't see this form documented in the APIdocs -
is it something new?
_______________________________________________
dev-tech-js-engine-rhino mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino

Reply via email to