src/java.base/share/classes/sun/reflect/annotation/AnnotationTypeMismatchExceptionProxy.java
changeset 58520 e036ee8bae56
parent 57956 e0b8b019d2f5
child 58679 9c3209ff7550
equal deleted inserted replaced
58519:6e017b301287 58520:e036ee8bae56
    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