RFR 8186469 MethodHandle.invokeWithArguments jumbo-arity
paul.sandoz at oracle.com
Fri Aug 25 16:08:08 UTC 2017
> On 25 Aug 2017, at 00:47, stanislav lukyanov <stanislav.lukyanov at oracle.com> wrote:
> On 24.08.2017 23:43, Paul Sandoz wrote:
>>> On 23 Aug 2017, at 23:49, stanislav lukyanov <stanislav.lukyanov at oracle.com> wrote:
>>> I still think that instead of debugging this spec and making sure that it behaves similarly to `asType`
>>> it would be better to keep delegating to the implied `asType` and allow it not to throw IAE for too many parameters.
>> I actually prefer the explicit approach here, rather than re-purposing asType and by extension asVarargsCollector (“as if by asType but …”), but i do take your point (IIRC) that the specification of asVarargsCollector could duplicate some common specification text.
> Yes, I guess duplicating the text would help to avoid inconsistencies.
> Should I file an RFE (P5?) for synchronizing the texts of invokeWithArguments, asVaragsCollector and possibly asType?
Yes please, that would be useful. If you could suggest appropriate text even better :-)
It might be best to add a section to the package html that can be linked to.
More information about the core-libs-dev