< prev index next >
src/java.base/share/classes/sun/reflect/annotation/AnnotationTypeMismatchExceptionProxy.java
Print this page
*** 34,44 ****
* @since 1.5
*/
class AnnotationTypeMismatchExceptionProxy extends ExceptionProxy {
@java.io.Serial
private static final long serialVersionUID = 7844069490309503934L;
! private Method member;
private final String foundType;
/**
* It turns out to be convenient to construct these proxies in
* two stages. Since this is a private implementation class, we
--- 34,45 ----
* @since 1.5
*/
class AnnotationTypeMismatchExceptionProxy extends ExceptionProxy {
@java.io.Serial
private static final long serialVersionUID = 7844069490309503934L;
! @SuppressWarnings("serial") // Not statically typed as Serializable
! private Method member; // Would be more robust to null-out in a writeObject method.
private final String foundType;
/**
* It turns out to be convenient to construct these proxies in
* two stages. Since this is a private implementation class, we
< prev index next >