mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8314738: Remove all occurrences of and support for @revised
Reviewed-by: mr
This commit is contained in:
parent
6b9df037e4
commit
f39fc0aa2d
28 changed files with 8 additions and 124 deletions
|
@ -74,7 +74,6 @@ import sun.security.util.SecurityConstants;
|
|||
* @spec jni/index.html Java Native Interface Specification
|
||||
* @jls 6.6 Access Control
|
||||
* @since 1.2
|
||||
* @revised 9
|
||||
*/
|
||||
public class AccessibleObject implements AnnotatedElement {
|
||||
static {
|
||||
|
@ -119,7 +118,6 @@ public class AccessibleObject implements AnnotatedElement {
|
|||
* java.lang.Class}
|
||||
* @see SecurityManager#checkPermission
|
||||
* @see ReflectPermission
|
||||
* @revised 9
|
||||
*/
|
||||
@CallerSensitive
|
||||
public static void setAccessible(AccessibleObject[] array, boolean flag) {
|
||||
|
@ -207,7 +205,6 @@ public class AccessibleObject implements AnnotatedElement {
|
|||
* @spec jni/index.html Java Native Interface Specification
|
||||
* @see #trySetAccessible
|
||||
* @see java.lang.invoke.MethodHandles#privateLookupIn
|
||||
* @revised 9
|
||||
*/
|
||||
@CallerSensitive // overrides in Method/Field/Constructor are @CS
|
||||
public void setAccessible(boolean flag) {
|
||||
|
@ -424,8 +421,6 @@ public class AccessibleObject implements AnnotatedElement {
|
|||
* This method may return {@code false} on a reflected object that is
|
||||
* accessible to the caller. To test if this reflected object is accessible,
|
||||
* it should use {@link #canAccess(Object)}.
|
||||
*
|
||||
* @revised 9
|
||||
*/
|
||||
@Deprecated(since="9")
|
||||
public boolean isAccessible() {
|
||||
|
|
|
@ -292,7 +292,6 @@ import static java.lang.module.ModuleDescriptor.Modifier.SYNTHETIC;
|
|||
* @author Peter Jones
|
||||
* @see InvocationHandler
|
||||
* @since 1.3
|
||||
* @revised 9
|
||||
*/
|
||||
public class Proxy implements java.io.Serializable {
|
||||
@java.io.Serial
|
||||
|
@ -382,7 +381,6 @@ public class Proxy implements java.io.Serializable {
|
|||
* to create a proxy instance instead.
|
||||
*
|
||||
* @see <a href="#membership">Package and Module Membership of Proxy Class</a>
|
||||
* @revised 9
|
||||
*/
|
||||
@Deprecated
|
||||
@CallerSensitive
|
||||
|
@ -1015,7 +1013,6 @@ public class Proxy implements java.io.Serializable {
|
|||
* {@code null}
|
||||
*
|
||||
* @see <a href="#membership">Package and Module Membership of Proxy Class</a>
|
||||
* @revised 9
|
||||
*/
|
||||
@CallerSensitive
|
||||
public static Object newProxyInstance(ClassLoader loader,
|
||||
|
@ -1100,8 +1097,6 @@ public class Proxy implements java.io.Serializable {
|
|||
* @return {@code true} if the class is a proxy class and
|
||||
* {@code false} otherwise
|
||||
* @throws NullPointerException if {@code cl} is {@code null}
|
||||
*
|
||||
* @revised 9
|
||||
*/
|
||||
public static boolean isProxyClass(Class<?> cl) {
|
||||
return Proxy.class.isAssignableFrom(cl) && ProxyBuilder.isProxyClass(cl);
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 1998, 2021, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1998, 2023, 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
|
||||
|
@ -94,6 +94,5 @@
|
|||
* @jvms 5.3.1 Loading Using the Bootstrap Class Loader
|
||||
* @jvms 5.3.2 Loading Using a User-defined Class Loader
|
||||
* @since 1.1
|
||||
* @revised 9
|
||||
*/
|
||||
package java.lang.reflect;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue