-
1. Re: Custom Helper Methods - VarArgs Not Supported ?
adinn Aug 6, 2013 8:59 AM (in response to nwhitehead)Hi Nicholas,
Nicholas Whitehead wrote:
Based on some testing with 2.1.3, it seems that VarArg methods in the declared helper cannot be matched and are not supported.
I tried working around this with some vaguely "array" looking syntax in my BIND statement so I could just pass an array, but no dice.
Is this correct ?
If so, is it prohibitive ? If not, I will open a Jira for it.
It really ought to work if you can pass an Object[] as the last argument -- that's how the bytecode avertises varargs methods.
Please do raise a JIRA. Even if this does not work now in any format it probably ought to be made to work in a rleatively clear to understand manner. I can make no promises as to when I will be able to implement it -- very busy on the AArch64 C2 compielr just now -- but I'll will do my best to look at it and scope it ASAP.
regards,
Andrew Dinn