< prev index next >

src/java.base/share/classes/sun/reflect/annotation/AnnotationInvocationHandler.java

Print this page
*** 1,7 ***
  /*
!  * Copyright (c) 2003, 2024, Oracle and/or its affiliates. All rights reserved.
   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   *
   * This code is free software; you can redistribute it and/or modify it
   * under the terms of the GNU General Public License version 2 only, as
   * published by the Free Software Foundation.  Oracle designates this
--- 1,7 ---
  /*
!  * Copyright (c) 2003, 2026, Oracle and/or its affiliates. All rights reserved.
   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   *
   * This code is free software; you can redistribute it and/or modify it
   * under the terms of the GNU General Public License version 2 only, as
   * published by the Free Software Foundation.  Oracle designates this

*** 674,17 ***
  
          UnsafeAccessor.setType(this, t);
          UnsafeAccessor.setMemberValues(this, mv);
      }
  
-     /**
-      * Gets an unmodifiable view on the member values.
-      */
-     Map<String, Object> memberValues() {
-         return Collections.unmodifiableMap(memberValues);
-     }
- 
      private static class UnsafeAccessor {
          private static final jdk.internal.misc.Unsafe unsafe
                  = jdk.internal.misc.Unsafe.getUnsafe();
          private static final long typeOffset = unsafe.objectFieldOffset
                  (AnnotationInvocationHandler.class, "type");
--- 674,10 ---
< prev index next >