src/java.base/share/classes/java/lang/BootstrapMethodError.java
changeset 48826 c4d9d1b08e2e
parent 47216 71c04702a3d5
child 57956 e0b8b019d2f5
equal deleted inserted replaced
48825:ef8a98bc71f8 48826:c4d9d1b08e2e
    24  */
    24  */
    25 
    25 
    26 package java.lang;
    26 package java.lang;
    27 
    27 
    28 /**
    28 /**
    29  * Thrown to indicate that an {@code invokedynamic} instruction has
    29  * Thrown to indicate that an {@code invokedynamic} instruction or a dynamic
    30  * failed to find its bootstrap method,
    30  * constant failed to resolve its bootstrap method and arguments,
    31  * or the bootstrap method has failed to provide a
    31  * or for {@code invokedynamic} instruction the bootstrap method has failed to
    32  * {@linkplain java.lang.invoke.CallSite call site} with a {@linkplain java.lang.invoke.CallSite#getTarget target}
    32  * provide a
    33  * of the correct {@linkplain java.lang.invoke.MethodHandle#type() method type}.
    33  * {@linkplain java.lang.invoke.CallSite call site} with a
       
    34  * {@linkplain java.lang.invoke.CallSite#getTarget target}
       
    35  * of the correct {@linkplain java.lang.invoke.MethodHandle#type() method type},
       
    36  * or for a dynamic constant the bootstrap method has failed to provide a
       
    37  * constant value of the required type.
    34  *
    38  *
    35  * @author John Rose, JSR 292 EG
    39  * @author John Rose, JSR 292 EG
    36  * @since 1.7
    40  * @since 1.7
    37  */
    41  */
    38 public class BootstrapMethodError extends LinkageError {
    42 public class BootstrapMethodError extends LinkageError {