*** 35,44 **** --- 35,45 ---- * @author Josh Bloch * @see java.lang.reflect.AnnotatedElement * @since 1.5 */ public class AnnotationFormatError extends Error { + @java.io.Serial private static final long serialVersionUID = -4256701562333669892L; /** * Constructs a new {@code AnnotationFormatError} with the specified * detail message.