--- a/src/java.base/share/classes/java/lang/invoke/MethodHandles.java Thu May 31 09:51:31 2018 -0500
+++ b/src/java.base/share/classes/java/lang/invoke/MethodHandles.java Fri May 25 22:56:00 2018 -0700
@@ -3483,6 +3483,11 @@
* @return a method handle which inserts an additional argument,
* before calling the original method handle
* @throws NullPointerException if the target or the {@code values} array is null
+ * @throws IllegalArgumentException if (@code pos) is less than {@code 0} or greater than
+ * {@code N - L} where {@code N} is the arity of the target method handle and {@code L}
+ * is the length of the values array.
+ * @throws ClassCastException if an argument does not match the corresponding bound parameter
+ * type.
* @see MethodHandle#bindTo
*/
public static