equal
deleted
inserted
replaced
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 { |