src/java.base/share/classes/sun/reflect/annotation/AnnotationInvocationHandler.java
changeset 58520 e036ee8bae56
parent 57956 e0b8b019d2f5
child 58679 9c3209ff7550
equal deleted inserted replaced
58519:6e017b301287 58520:e036ee8bae56
    42  */
    42  */
    43 class AnnotationInvocationHandler implements InvocationHandler, Serializable {
    43 class AnnotationInvocationHandler implements InvocationHandler, Serializable {
    44     @java.io.Serial
    44     @java.io.Serial
    45     private static final long serialVersionUID = 6182022883658399397L;
    45     private static final long serialVersionUID = 6182022883658399397L;
    46     private final Class<? extends Annotation> type;
    46     private final Class<? extends Annotation> type;
       
    47     @SuppressWarnings("serial") // Not statically typed as Serializable
    47     private final Map<String, Object> memberValues;
    48     private final Map<String, Object> memberValues;
    48 
    49 
    49     AnnotationInvocationHandler(Class<? extends Annotation> type, Map<String, Object> memberValues) {
    50     AnnotationInvocationHandler(Class<? extends Annotation> type, Map<String, Object> memberValues) {
    50         Class<?>[] superInterfaces = type.getInterfaces();
    51         Class<?>[] superInterfaces = type.getInterfaces();
    51         if (!type.isAnnotation() ||
    52         if (!type.isAnnotation() ||