mirror of
https://github.com/openjdk/jdk.git
synced 2026-05-06 03:35:10 +00:00
8233956: MethodHandles.dropArguments javadoc lists parameters in wrong order
Reviewed-by: jjg
This commit is contained in:
parent
0435ec1aaa
commit
34c43f791e
@ -4286,8 +4286,8 @@ assertEquals("yz", (String) d0.invokeExact(123, "x", "y", "z"));
|
||||
* {@link #dropArguments(MethodHandle,int,Class...) dropArguments}{@code (target, pos, valueTypes.toArray(new Class[0]))}
|
||||
* </pre></blockquote>
|
||||
* @param target the method handle to invoke after the arguments are dropped
|
||||
* @param valueTypes the type(s) of the argument(s) to drop
|
||||
* @param pos position of first argument to drop (zero for the leftmost)
|
||||
* @param valueTypes the type(s) of the argument(s) to drop
|
||||
* @return a method handle which drops arguments of the given types,
|
||||
* before calling the original method handle
|
||||
* @throws NullPointerException if the target is null,
|
||||
@ -4366,8 +4366,8 @@ assertEquals("xz", (String) d12.invokeExact("x", 12, true, "z"));
|
||||
* {@link #dropArguments(MethodHandle,int,List) dropArguments}{@code (target, pos, Arrays.asList(valueTypes))}
|
||||
* </pre></blockquote>
|
||||
* @param target the method handle to invoke after the arguments are dropped
|
||||
* @param valueTypes the type(s) of the argument(s) to drop
|
||||
* @param pos position of first argument to drop (zero for the leftmost)
|
||||
* @param valueTypes the type(s) of the argument(s) to drop
|
||||
* @return a method handle which drops arguments of the given types,
|
||||
* before calling the original method handle
|
||||
* @throws NullPointerException if the target is null,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user