8078290: Customize adapted MethodHandle in MH.invoke() case

Reviewed-by: jrose
This commit is contained in:
Vladimir Ivanov 2015-04-21 21:06:06 +03:00
parent f0f9b42b17
commit ad2c8376dd

View File

@ -281,7 +281,7 @@ class Invokers {
outArgs[0] = names[CHECK_TYPE];
}
if (CHECK_CUSTOM != -1) {
names[CHECK_CUSTOM] = new Name(NF_checkCustomized, names[CALL_MH]);
names[CHECK_CUSTOM] = new Name(NF_checkCustomized, outArgs[0]);
}
names[LINKER_CALL] = new Name(outCallType, outArgs);
lform = new LambdaForm(debugName, INARG_LIMIT, names);