src/java.base/share/classes/sun/reflect/annotation/AnnotationTypeMismatchExceptionProxy.java
equal
deleted
inserted
replaced
34 * @since 1.5 |
34 * @since 1.5 |
35 */ |
35 */ |
36 class AnnotationTypeMismatchExceptionProxy extends ExceptionProxy { |
36 class AnnotationTypeMismatchExceptionProxy extends ExceptionProxy { |
37 @java.io.Serial |
37 @java.io.Serial |
38 private static final long serialVersionUID = 7844069490309503934L; |
38 private static final long serialVersionUID = 7844069490309503934L; |
39 private Method member; |
39 @SuppressWarnings("serial") // Not statically typed as Serializable |
|
40 private Method member; // Would be more robust to null-out in a writeObject method. |
40 private final String foundType; |
41 private final String foundType; |
41 |
42 |
42 /** |
43 /** |
43 * It turns out to be convenient to construct these proxies in |
44 * It turns out to be convenient to construct these proxies in |
44 * two stages. Since this is a private implementation class, we |
45 * two stages. Since this is a private implementation class, we |