mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8158171: MethodHandles.dropArgumentsToMatch(...) non-documented IAE
Reviewed-by: sundar, mhaupt
This commit is contained in:
parent
3af1187ad7
commit
389fc2ae25
2 changed files with 13 additions and 4 deletions
|
@ -3360,9 +3360,9 @@ assertEquals("xy", h3.invoke("x", "y", 1, "a", "b", "c"));
|
|||
* @param pos place in {@code newTypes} where the non-skipped target parameters must occur
|
||||
* @return a possibly adapted method handle
|
||||
* @throws NullPointerException if either argument is null
|
||||
* @throws IllegalArgumentException
|
||||
* if either index is out of range in its corresponding list, or
|
||||
* if the non-skipped target parameter types match the new types at {@code pos}
|
||||
* @throws IllegalArgumentException if any element of {@code newTypes} is {@code void.class},
|
||||
* or if either index is out of range in its corresponding list,
|
||||
* or if the non-skipped target parameter types match the new types at {@code pos}
|
||||
* @since 9
|
||||
*/
|
||||
public static
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue