--- a/jdk/src/java.base/share/classes/java/lang/invoke/Invokers.java Fri Apr 17 18:15:13 2015 +0300
+++ b/jdk/src/java.base/share/classes/java/lang/invoke/Invokers.java Tue Apr 21 21:06:06 2015 +0300
@@ -281,7 +281,7 @@
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);