changeset 7381:84bce1b3d28a

8035793: Maximum arity maxed out Reviewed-by: jrose, twisti, ahgross
author vlivanov
date Thu, 06 Mar 2014 15:27:05 +0400
parents c084492f9e3d
children e9cf7b6ae721
files src/share/classes/java/lang/invoke/Invokers.java
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/java/lang/invoke/Invokers.java	Wed Mar 05 22:31:11 2014 -0800
+++ b/src/share/classes/java/lang/invoke/Invokers.java	Thu Mar 06 15:27:05 2014 +0400
@@ -318,6 +318,7 @@
             //  let mt=TYPEOF(a*:R), tmh=asType(mh, mt);
             //    tmh.invokeBasic(a*)
             outArgs = Arrays.copyOfRange(names, CALL_MH, OUTARG_LIMIT, Object[].class);
+            outArgs[0] = names[CHECK_TYPE];
             outCallType = mtype;
         } else {
             names[CHECK_TYPE] = new Name(NF_checkGenericType, names[CALL_MH], mtypeArg);