8303473: Add implied {@code} in java.lang.invoke.MethodHandles
Reviewed-by: jjg, lancea, mchung
This commit is contained in:
parent
c961a918ad
commit
e1745bc981
@ -2333,7 +2333,7 @@ public class MethodHandles {
|
||||
* before calling this factory method.
|
||||
*
|
||||
* @throws IllegalArgumentException if {@code bytes} is not a class or interface or
|
||||
* {@bytes} denotes a class in a different package than the lookup class
|
||||
* {@code bytes} denotes a class in a different package than the lookup class
|
||||
*/
|
||||
private ClassDefiner makeClassDefiner(byte[] bytes) {
|
||||
ClassFile cf = ClassFile.newInstance(bytes, lookupClass().getPackageName());
|
||||
@ -2351,7 +2351,7 @@ public class MethodHandles {
|
||||
* @return ClassDefiner that defines a hidden class of the given bytes.
|
||||
*
|
||||
* @throws IllegalArgumentException if {@code bytes} is not a class or interface or
|
||||
* {@bytes} denotes a class in a different package than the lookup class
|
||||
* {@code bytes} denotes a class in a different package than the lookup class
|
||||
*/
|
||||
ClassDefiner makeHiddenClassDefiner(byte[] bytes) {
|
||||
ClassFile cf = ClassFile.newInstance(bytes, lookupClass().getPackageName());
|
||||
@ -2372,7 +2372,7 @@ public class MethodHandles {
|
||||
* @return ClassDefiner that defines a hidden class of the given bytes and options
|
||||
*
|
||||
* @throws IllegalArgumentException if {@code bytes} is not a class or interface or
|
||||
* {@bytes} denotes a class in a different package than the lookup class
|
||||
* {@code bytes} denotes a class in a different package than the lookup class
|
||||
*/
|
||||
ClassDefiner makeHiddenClassDefiner(byte[] bytes,
|
||||
Set<ClassOption> options,
|
||||
@ -5182,7 +5182,7 @@ assert((int)twice.invokeExact(21) == 42);
|
||||
* @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
|
||||
* @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
|
||||
|
Loading…
x
Reference in New Issue
Block a user