< prev index next >

src/java.base/share/classes/java/lang/invoke/MethodHandle.java

Print this page

        

*** 221,231 **** * A new type of constant pool entry, {@code CONSTANT_MethodHandle}, * refers directly to an associated {@code CONSTANT_Methodref}, * {@code CONSTANT_InterfaceMethodref}, or {@code CONSTANT_Fieldref} * constant pool entry. * (For full details on method handle constants, ! * see sections 4.4.8 and 5.4.3.5 of the Java Virtual Machine Specification.) * <p> * Method handles produced by lookups or constant loads from methods or * constructors with the variable arity modifier bit ({@code 0x0080}) * have a corresponding variable arity, as if they were defined with * the help of {@link #asVarargsCollector asVarargsCollector} --- 221,231 ---- * A new type of constant pool entry, {@code CONSTANT_MethodHandle}, * refers directly to an associated {@code CONSTANT_Methodref}, * {@code CONSTANT_InterfaceMethodref}, or {@code CONSTANT_Fieldref} * constant pool entry. * (For full details on method handle constants, ! * see sections {@jvms 4.4.8} and {@jvms 5.4.3.5} of the Java Virtual Machine Specification.) * <p> * Method handles produced by lookups or constant loads from methods or * constructors with the variable arity modifier bit ({@code 0x0080}) * have a corresponding variable arity, as if they were defined with * the help of {@link #asVarargsCollector asVarargsCollector}
< prev index next >