--- old/src/share/classes/java/dyn/InvokeDynamicBootstrapError.java 2010-10-06 17:53:02.000000000 -0700 +++ new/src/share/classes/java/dyn/InvokeDynamicBootstrapError.java 2010-10-06 17:53:02.000000000 -0700 @@ -39,8 +39,11 @@ * {@link Linkage#registerBootstrapMethod registerBootstrapMethod}. * * @author John Rose, JSR 292 EG + * @since 1.7 */ public class InvokeDynamicBootstrapError extends LinkageError { + private static final long serialVersionUID = 292L; + /** * Constructs an {@code InvokeDynamicBootstrapError} with no detail message. */ @@ -63,10 +66,9 @@ * detail message and cause. * * @param s the detail message. - * @param cause the cause. + * @param cause the cause, may be {@code null}. */ public InvokeDynamicBootstrapError(String s, Throwable cause) { - super(s); - this.initCause(cause); + super(s, cause); } }