8314738: Remove all occurrences of and support for @revised
Reviewed-by: mr
This commit is contained in:
parent
6b9df037e4
commit
f39fc0aa2d
@ -67,7 +67,6 @@ MODULES_SOURCE_PATH := $(call PathList, $(call GetModuleSrcPath) )
|
||||
# ordering of tags as the tags are otherwise ordered in order of definition.
|
||||
JAVADOC_TAGS := \
|
||||
-tag beaninfo:X \
|
||||
-tag revised:X \
|
||||
-tag since.unbundled:X \
|
||||
-tag Note:X \
|
||||
-tag ToDo:X \
|
||||
|
@ -499,8 +499,6 @@ public class FileInputStream extends InputStream
|
||||
* this method should be prepared to handle possible reentrant invocation.
|
||||
*
|
||||
* @throws IOException {@inheritDoc}
|
||||
*
|
||||
* @revised 1.4
|
||||
*/
|
||||
@Override
|
||||
public void close() throws IOException {
|
||||
|
@ -392,8 +392,6 @@ public class FileOutputStream extends OutputStream
|
||||
* this method should be prepared to handle possible reentrant invocation.
|
||||
*
|
||||
* @throws IOException if an I/O error occurs.
|
||||
*
|
||||
* @revised 1.4
|
||||
*/
|
||||
@Override
|
||||
public void close() throws IOException {
|
||||
|
@ -157,8 +157,6 @@ public class InputStreamReader extends Reader {
|
||||
* {@code null} if the stream has been closed
|
||||
*
|
||||
* @see Charset
|
||||
*
|
||||
* @revised 1.4
|
||||
*/
|
||||
public String getEncoding() {
|
||||
return sd.getEncoding();
|
||||
|
@ -176,8 +176,6 @@ public class OutputStreamWriter extends Writer {
|
||||
* {@code null} if the stream has been closed
|
||||
*
|
||||
* @see Charset
|
||||
*
|
||||
* @revised 1.4
|
||||
*/
|
||||
public String getEncoding() {
|
||||
return se.getEncoding();
|
||||
|
@ -129,7 +129,6 @@ public class RandomAccessFile implements DataOutput, DataInput, Closeable {
|
||||
* @see java.lang.SecurityException
|
||||
* @see java.lang.SecurityManager#checkRead(java.lang.String)
|
||||
* @see java.lang.SecurityManager#checkWrite(java.lang.String)
|
||||
* @revised 1.4
|
||||
*/
|
||||
public RandomAccessFile(String name, String mode)
|
||||
throws FileNotFoundException
|
||||
@ -215,7 +214,6 @@ public class RandomAccessFile implements DataOutput, DataInput, Closeable {
|
||||
* @see java.lang.SecurityManager#checkRead(java.lang.String)
|
||||
* @see java.lang.SecurityManager#checkWrite(java.lang.String)
|
||||
* @see java.nio.channels.FileChannel#force(boolean)
|
||||
* @revised 1.4
|
||||
*/
|
||||
public RandomAccessFile(File file, String mode)
|
||||
throws FileNotFoundException
|
||||
@ -703,8 +701,6 @@ public class RandomAccessFile implements DataOutput, DataInput, Closeable {
|
||||
* this method should be prepared to handle possible reentrant invocation.
|
||||
*
|
||||
* @throws IOException if an I/O error occurs.
|
||||
*
|
||||
* @revised 1.4
|
||||
*/
|
||||
public void close() throws IOException {
|
||||
if (closed) {
|
||||
|
@ -1168,7 +1168,6 @@ public final class Class<T> implements java.io.Serializable,
|
||||
* this method returns {@code null}.
|
||||
*
|
||||
* @return the package of this class.
|
||||
* @revised 9
|
||||
*/
|
||||
public Package getPackage() {
|
||||
if (isPrimitive() || isArray()) {
|
||||
@ -3029,7 +3028,6 @@ public final class Class<T> implements java.io.Serializable,
|
||||
*
|
||||
* @see Module#getResourceAsStream(String)
|
||||
* @since 1.1
|
||||
* @revised 9
|
||||
*/
|
||||
@CallerSensitive
|
||||
public InputStream getResourceAsStream(String name) {
|
||||
@ -3125,7 +3123,6 @@ public final class Class<T> implements java.io.Serializable,
|
||||
* manager.
|
||||
* @throws NullPointerException If {@code name} is {@code null}
|
||||
* @since 1.1
|
||||
* @revised 9
|
||||
*/
|
||||
@CallerSensitive
|
||||
public URL getResource(String name) {
|
||||
|
@ -227,7 +227,6 @@ import sun.security.util.SecurityConstants;
|
||||
* @jls 13.1 The Form of a Binary
|
||||
* @see #resolveClass(Class)
|
||||
* @since 1.0
|
||||
* @revised 9
|
||||
*/
|
||||
public abstract class ClassLoader {
|
||||
|
||||
@ -881,7 +880,6 @@ public abstract class ClassLoader {
|
||||
* @see java.security.SecureClassLoader
|
||||
*
|
||||
* @since 1.1
|
||||
* @revised 9
|
||||
*/
|
||||
protected final Class<?> defineClass(String name, byte[] b, int off, int len)
|
||||
throws ClassFormatError
|
||||
@ -1015,8 +1013,6 @@ public abstract class ClassLoader {
|
||||
* certificates than this class, or if {@code name} begins with
|
||||
* "{@code java.}" and this class loader is not the platform
|
||||
* class loader or its ancestor.
|
||||
*
|
||||
* @revised 9
|
||||
*/
|
||||
protected final Class<?> defineClass(String name, byte[] b, int off, int len,
|
||||
ProtectionDomain protectionDomain)
|
||||
@ -1091,7 +1087,6 @@ public abstract class ClassLoader {
|
||||
* @see #defineClass(String, byte[], int, int, ProtectionDomain)
|
||||
*
|
||||
* @since 1.5
|
||||
* @revised 9
|
||||
*/
|
||||
protected final Class<?> defineClass(String name, java.nio.ByteBuffer b,
|
||||
ProtectionDomain protectionDomain)
|
||||
@ -1404,7 +1399,6 @@ public abstract class ClassLoader {
|
||||
* @throws NullPointerException If {@code name} is {@code null}
|
||||
*
|
||||
* @since 1.1
|
||||
* @revised 9
|
||||
*/
|
||||
public URL getResource(String name) {
|
||||
Objects.requireNonNull(name);
|
||||
@ -1469,7 +1463,6 @@ public abstract class ClassLoader {
|
||||
* @throws NullPointerException If {@code name} is {@code null}
|
||||
*
|
||||
* @since 1.2
|
||||
* @revised 9
|
||||
*/
|
||||
public Enumeration<URL> getResources(String name) throws IOException {
|
||||
Objects.requireNonNull(name);
|
||||
@ -1567,7 +1560,6 @@ public abstract class ClassLoader {
|
||||
* denied by the security manager.
|
||||
*
|
||||
* @since 1.2
|
||||
* @revised 9
|
||||
*/
|
||||
protected URL findResource(String name) {
|
||||
return null;
|
||||
@ -1602,7 +1594,6 @@ public abstract class ClassLoader {
|
||||
* If I/O errors occur
|
||||
*
|
||||
* @since 1.2
|
||||
* @revised 9
|
||||
*/
|
||||
protected Enumeration<URL> findResources(String name) throws IOException {
|
||||
return Collections.emptyEnumeration();
|
||||
@ -1687,7 +1678,6 @@ public abstract class ClassLoader {
|
||||
* denied by the security manager.
|
||||
*
|
||||
* @since 1.1
|
||||
* @revised 9
|
||||
*/
|
||||
public static URL getSystemResource(String name) {
|
||||
return getSystemClassLoader().getResource(name);
|
||||
@ -1723,7 +1713,6 @@ public abstract class ClassLoader {
|
||||
* If I/O errors occur
|
||||
*
|
||||
* @since 1.2
|
||||
* @revised 9
|
||||
*/
|
||||
public static Enumeration<URL> getSystemResources(String name)
|
||||
throws IOException
|
||||
@ -1755,7 +1744,6 @@ public abstract class ClassLoader {
|
||||
* @throws NullPointerException If {@code name} is {@code null}
|
||||
*
|
||||
* @since 1.1
|
||||
* @revised 9
|
||||
*/
|
||||
public InputStream getResourceAsStream(String name) {
|
||||
Objects.requireNonNull(name);
|
||||
@ -1788,7 +1776,6 @@ public abstract class ClassLoader {
|
||||
* denied by the security manager.
|
||||
*
|
||||
* @since 1.1
|
||||
* @revised 9
|
||||
*/
|
||||
public static InputStream getSystemResourceAsStream(String name) {
|
||||
URL url = getSystemResource(name);
|
||||
@ -1948,9 +1935,6 @@ public abstract class ClassLoader {
|
||||
* exception is thrown by that constructor when it is invoked. The
|
||||
* underlying cause of the error can be retrieved via the
|
||||
* {@link Throwable#getCause()} method.
|
||||
*
|
||||
* @revised 1.4
|
||||
* @revised 9
|
||||
*/
|
||||
@CallerSensitive
|
||||
public static ClassLoader getSystemClassLoader() {
|
||||
@ -2217,7 +2201,6 @@ public abstract class ClassLoader {
|
||||
*
|
||||
*
|
||||
* @since 1.2
|
||||
* @revised 9
|
||||
*
|
||||
* @jvms 5.3 Creation and Loading
|
||||
* @see <a href="{@docRoot}/../specs/jar/jar.html#package-sealing">
|
||||
@ -2326,7 +2309,6 @@ public abstract class ClassLoader {
|
||||
* @see ClassLoader#getDefinedPackage(String)
|
||||
*
|
||||
* @since 1.2
|
||||
* @revised 9
|
||||
*/
|
||||
@Deprecated(since="9")
|
||||
protected Package getPackage(String name) {
|
||||
@ -2361,7 +2343,6 @@ public abstract class ClassLoader {
|
||||
* @see ClassLoader#getDefinedPackages()
|
||||
*
|
||||
* @since 1.2
|
||||
* @revised 9
|
||||
*/
|
||||
protected Package[] getPackages() {
|
||||
Stream<Package> pkgs = packages();
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1997, 2021, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1997, 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
|
||||
@ -114,7 +114,6 @@ import jdk.internal.reflect.Reflection;
|
||||
* @see ClassLoader#definePackage(String, String, String, String, String, String, String, URL)
|
||||
*
|
||||
* @since 1.2
|
||||
* @revised 9
|
||||
*/
|
||||
public class Package extends NamedPackage implements java.lang.reflect.AnnotatedElement {
|
||||
/**
|
||||
@ -211,8 +210,6 @@ public class Package extends NamedPackage implements java.lang.reflect.Annotated
|
||||
* is returned if it is not known.
|
||||
* @return the vendor that implemented this package, {@code null}
|
||||
* is returned if it is not known.
|
||||
*
|
||||
* @revised 9
|
||||
*/
|
||||
public String getImplementationVendor() {
|
||||
return versionInfo.implVendor;
|
||||
@ -355,8 +352,6 @@ public class Package extends NamedPackage implements java.lang.reflect.Annotated
|
||||
* a {@code Package} for the specified class loader.
|
||||
*
|
||||
* @see ClassLoader#getDefinedPackage
|
||||
*
|
||||
* @revised 9
|
||||
*/
|
||||
@CallerSensitive
|
||||
@Deprecated(since="9")
|
||||
@ -379,8 +374,6 @@ public class Package extends NamedPackage implements java.lang.reflect.Annotated
|
||||
* class loader and its ancestors
|
||||
*
|
||||
* @see ClassLoader#getDefinedPackages
|
||||
*
|
||||
* @revised 9
|
||||
*/
|
||||
@CallerSensitive
|
||||
public static Package[] getPackages() {
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2000, 2022, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2000, 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
|
||||
@ -118,7 +118,6 @@ public final class StackTraceElement implements java.io.Serializable {
|
||||
* @throws NullPointerException if {@code declaringClass} or
|
||||
* {@code methodName} is null
|
||||
* @since 1.5
|
||||
* @revised 9
|
||||
*/
|
||||
public StackTraceElement(String declaringClass, String methodName,
|
||||
String fileName, int lineNumber) {
|
||||
@ -355,7 +354,6 @@ public final class StackTraceElement implements java.io.Serializable {
|
||||
* {@link java.lang.StackWalker.StackFrame}, where an implementation may
|
||||
* choose to omit some element in the returned string.
|
||||
*
|
||||
* @revised 9
|
||||
* @see Throwable#printStackTrace()
|
||||
*/
|
||||
@Override
|
||||
@ -426,8 +424,6 @@ public final class StackTraceElement implements java.io.Serializable {
|
||||
* @return true if the specified object is another
|
||||
* {@code StackTraceElement} instance representing the same
|
||||
* execution point as this instance.
|
||||
*
|
||||
* @revised 9
|
||||
*/
|
||||
public boolean equals(Object obj) {
|
||||
if (obj==this)
|
||||
|
@ -1693,8 +1693,6 @@ public class Thread implements Runnable {
|
||||
*
|
||||
* @throws SecurityException
|
||||
* if the current thread cannot modify this thread
|
||||
*
|
||||
* @revised 6.0, 14
|
||||
*/
|
||||
public void interrupt() {
|
||||
if (this != Thread.currentThread()) {
|
||||
@ -1726,7 +1724,6 @@ public class Thread implements Runnable {
|
||||
* @return {@code true} if the current thread has been interrupted;
|
||||
* {@code false} otherwise.
|
||||
* @see #isInterrupted()
|
||||
* @revised 6.0, 14
|
||||
*/
|
||||
public static boolean interrupted() {
|
||||
return currentThread().getAndClearInterrupt();
|
||||
@ -1739,7 +1736,6 @@ public class Thread implements Runnable {
|
||||
* @return {@code true} if this thread has been interrupted;
|
||||
* {@code false} otherwise.
|
||||
* @see #interrupted()
|
||||
* @revised 6.0, 14
|
||||
*/
|
||||
public boolean isInterrupted() {
|
||||
return interrupted;
|
||||
|
@ -175,8 +175,6 @@ public class MethodHandles {
|
||||
* Also, it cannot access
|
||||
* <a href="MethodHandles.Lookup.html#callsens">caller sensitive methods</a>.
|
||||
* @return a lookup object which is trusted minimally
|
||||
*
|
||||
* @revised 9
|
||||
*/
|
||||
public static Lookup publicLookup() {
|
||||
return Lookup.PUBLIC_LOOKUP;
|
||||
@ -1437,8 +1435,6 @@ public class MethodHandles {
|
||||
* so that there can be a secure foundation for lookups.
|
||||
* Nearly all other methods in the JSR 292 API rely on lookup
|
||||
* objects to check access requests.
|
||||
*
|
||||
* @revised 9
|
||||
*/
|
||||
public static final
|
||||
class Lookup {
|
||||
@ -1621,8 +1617,6 @@ public class MethodHandles {
|
||||
* @return the lookup modes, which limit the kinds of access performed by this lookup object
|
||||
* @see #in
|
||||
* @see #dropLookupMode
|
||||
*
|
||||
* @revised 9
|
||||
*/
|
||||
public int lookupModes() {
|
||||
return allowedModes & ALL_MODES;
|
||||
@ -1703,7 +1697,6 @@ public class MethodHandles {
|
||||
* @throws IllegalArgumentException if {@code requestedLookupClass} is a primitive type or void or array class
|
||||
* @throws NullPointerException if the argument is null
|
||||
*
|
||||
* @revised 9
|
||||
* @see #accessClass(Class)
|
||||
* @see <a href="#cross-module-lookup">Cross-module lookups</a>
|
||||
*/
|
||||
@ -2599,8 +2592,6 @@ public class MethodHandles {
|
||||
* because it requires a direct subclass relationship between
|
||||
* caller and callee.)
|
||||
* @see #in
|
||||
*
|
||||
* @revised 9
|
||||
*/
|
||||
@Override
|
||||
public String toString() {
|
||||
|
@ -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;
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1995, 2022, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1995, 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
|
||||
@ -656,7 +656,6 @@ public class DatagramSocket implements java.io.Closeable {
|
||||
* @see java.net.DatagramPacket
|
||||
* @see SecurityManager#checkMulticast(InetAddress)
|
||||
* @see SecurityManager#checkConnect
|
||||
* @revised 1.4
|
||||
*/
|
||||
public void send(DatagramPacket p) throws IOException {
|
||||
delegate().send(p);
|
||||
@ -708,7 +707,6 @@ public class DatagramSocket implements java.io.Closeable {
|
||||
* and the channel is in non-blocking mode.
|
||||
* @see java.net.DatagramPacket
|
||||
* @see java.net.DatagramSocket
|
||||
* @revised 1.4
|
||||
*/
|
||||
public void receive(DatagramPacket p) throws IOException {
|
||||
delegate().receive(p);
|
||||
@ -1082,8 +1080,6 @@ public class DatagramSocket implements java.io.Closeable {
|
||||
*
|
||||
* <p> If this socket has an associated channel then the channel is closed
|
||||
* as well.
|
||||
*
|
||||
* @revised 1.4
|
||||
*/
|
||||
public void close() {
|
||||
delegate().close();
|
||||
|
@ -125,7 +125,6 @@ public class ServerSocket implements java.io.Closeable {
|
||||
* Creates an unbound server socket.
|
||||
*
|
||||
* @throws IOException IO error when opening the socket.
|
||||
* @revised 1.4
|
||||
*/
|
||||
public ServerSocket() throws IOException {
|
||||
this.impl = createImpl();
|
||||
@ -532,7 +531,6 @@ public class ServerSocket implements java.io.Closeable {
|
||||
*
|
||||
* @return the new Socket
|
||||
* @see SecurityManager#checkAccept
|
||||
* @revised 1.4
|
||||
*/
|
||||
public Socket accept() throws IOException {
|
||||
if (isClosed())
|
||||
@ -575,7 +573,6 @@ public class ServerSocket implements java.io.Closeable {
|
||||
* to accept a connection with the given socket
|
||||
*
|
||||
* @since 1.1
|
||||
* @revised 1.4
|
||||
*/
|
||||
protected final void implAccept(Socket s) throws IOException {
|
||||
SocketImpl si = s.impl();
|
||||
@ -741,7 +738,6 @@ public class ServerSocket implements java.io.Closeable {
|
||||
* as well.
|
||||
*
|
||||
* @throws IOException if an I/O error occurs when closing the socket.
|
||||
* @revised 1.4
|
||||
*/
|
||||
public void close() throws IOException {
|
||||
synchronized (socketLock) {
|
||||
|
@ -176,7 +176,6 @@ public class Socket implements java.io.Closeable {
|
||||
* socket implementation is created.
|
||||
*
|
||||
* @since 1.1
|
||||
* @revised 1.4
|
||||
*/
|
||||
public Socket() {
|
||||
this.impl = createImpl();
|
||||
@ -1051,8 +1050,6 @@ public class Socket implements java.io.Closeable {
|
||||
* input stream, the socket is closed, the socket is
|
||||
* not connected, or the socket input has been shutdown
|
||||
* using {@link #shutdownInput()}
|
||||
*
|
||||
* @revised 1.4
|
||||
*/
|
||||
public InputStream getInputStream() throws IOException {
|
||||
int s = state;
|
||||
@ -1149,7 +1146,6 @@ public class Socket implements java.io.Closeable {
|
||||
* @return an output stream for writing bytes to this socket.
|
||||
* @throws IOException if an I/O error occurs when creating the
|
||||
* output stream or if the socket is not connected.
|
||||
* @revised 1.4
|
||||
*/
|
||||
public OutputStream getOutputStream() throws IOException {
|
||||
int s = state;
|
||||
@ -1717,7 +1713,6 @@ public class Socket implements java.io.Closeable {
|
||||
* as well.
|
||||
*
|
||||
* @throws IOException if an I/O error occurs when closing this socket.
|
||||
* @revised 1.4
|
||||
* @see #isClosed
|
||||
*/
|
||||
public void close() throws IOException {
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1997, 2021, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1997, 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
|
||||
@ -539,8 +539,6 @@ public class URLClassLoader extends SecureClassLoader implements Closeable {
|
||||
* @throws IllegalArgumentException if the package name is
|
||||
* already defined by this class loader
|
||||
* @return the newly defined {@code Package} object
|
||||
*
|
||||
* @revised 9
|
||||
*/
|
||||
protected Package definePackage(String name, Manifest man, URL url) {
|
||||
String specTitle = null, specVersion = null, specVendor = null;
|
||||
|
@ -373,7 +373,6 @@ import static sun.security.util.SecurityConstants.GET_CLASSLOADER_PERMISSION;
|
||||
* @see MissingResourceException
|
||||
* @see ResourceBundleProvider
|
||||
* @since 1.1
|
||||
* @revised 9
|
||||
*/
|
||||
public abstract class ResourceBundle {
|
||||
|
||||
@ -894,7 +893,6 @@ public abstract class ResourceBundle {
|
||||
* @throws UnsupportedOperationException
|
||||
* if this method is called in a named module
|
||||
* @since 1.6
|
||||
* @revised 9
|
||||
*/
|
||||
@CallerSensitive
|
||||
public static final ResourceBundle getBundle(String baseName,
|
||||
@ -1054,7 +1052,6 @@ public abstract class ResourceBundle {
|
||||
* @throws UnsupportedOperationException
|
||||
* if this method is called in a named module
|
||||
* @since 1.6
|
||||
* @revised 9
|
||||
*/
|
||||
@CallerSensitive
|
||||
public static final ResourceBundle getBundle(String baseName, Locale targetLocale,
|
||||
@ -1267,7 +1264,6 @@ public abstract class ResourceBundle {
|
||||
* @throws MissingResourceException
|
||||
* if no resource bundle for the specified base name can be found
|
||||
* @since 1.2
|
||||
* @revised 9
|
||||
* @see <a href="#resource-bundle-modules">Resource Bundles and Named Modules</a>
|
||||
*/
|
||||
@CallerSensitive
|
||||
@ -1492,7 +1488,6 @@ public abstract class ResourceBundle {
|
||||
* @throws UnsupportedOperationException
|
||||
* if this method is called in a named module
|
||||
* @since 1.6
|
||||
* @revised 9
|
||||
*/
|
||||
@CallerSensitive
|
||||
public static ResourceBundle getBundle(String baseName, Locale targetLocale,
|
||||
@ -2235,7 +2230,6 @@ public abstract class ResourceBundle {
|
||||
* by the caller's module.
|
||||
*
|
||||
* @since 1.6
|
||||
* @revised 9
|
||||
* @see ResourceBundle.Control#getTimeToLive(String,Locale)
|
||||
*/
|
||||
@CallerSensitive
|
||||
@ -2524,7 +2518,6 @@ public abstract class ResourceBundle {
|
||||
* of {@link ResourceBundleControlProvider} are ignored in named modules.
|
||||
*
|
||||
* @since 1.6
|
||||
* @revised 9
|
||||
* @see java.util.spi.ResourceBundleProvider
|
||||
*/
|
||||
public static class Control {
|
||||
@ -3150,7 +3143,6 @@ public abstract class ResourceBundle {
|
||||
* if an error occurred when reading resources using
|
||||
* any I/O operations
|
||||
* @see java.util.spi.ResourceBundleProvider#getBundle(String, Locale)
|
||||
* @revised 9
|
||||
*/
|
||||
public ResourceBundle newBundle(String baseName, Locale locale, String format,
|
||||
ClassLoader loader, boolean reload)
|
||||
|
@ -386,7 +386,6 @@ import jdk.internal.reflect.Reflection;
|
||||
*
|
||||
* @author Mark Reinhold
|
||||
* @since 1.6
|
||||
* @revised 9
|
||||
*/
|
||||
|
||||
public final class ServiceLoader<S>
|
||||
@ -1355,8 +1354,6 @@ public final class ServiceLoader<S>
|
||||
*
|
||||
* @return An iterator that lazily loads providers for this loader's
|
||||
* service
|
||||
*
|
||||
* @revised 9
|
||||
*/
|
||||
public Iterator<S> iterator() {
|
||||
|
||||
@ -1640,8 +1637,6 @@ public final class ServiceLoader<S>
|
||||
* if the service type is not accessible to the caller or the
|
||||
* caller is in an explicit module and its module descriptor does
|
||||
* not declare that it uses {@code service}
|
||||
*
|
||||
* @revised 9
|
||||
*/
|
||||
@CallerSensitive
|
||||
@SuppressWarnings("doclint:reference") // cross-module links
|
||||
@ -1686,8 +1681,6 @@ public final class ServiceLoader<S>
|
||||
* if the service type is not accessible to the caller or the
|
||||
* caller is in an explicit module and its module descriptor does
|
||||
* not declare that it uses {@code service}
|
||||
*
|
||||
* @revised 9
|
||||
*/
|
||||
@CallerSensitive
|
||||
public static <S> ServiceLoader<S> load(Class<S> service) {
|
||||
@ -1721,8 +1714,6 @@ public final class ServiceLoader<S>
|
||||
* if the service type is not accessible to the caller or the
|
||||
* caller is in an explicit module and its module descriptor does
|
||||
* not declare that it uses {@code service}
|
||||
*
|
||||
* @revised 9
|
||||
*/
|
||||
@CallerSensitive
|
||||
public static <S> ServiceLoader<S> loadInstalled(Class<S> service) {
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2012, 2017, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2012, 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
|
||||
@ -44,7 +44,6 @@ import java.util.ResourceBundle;
|
||||
*
|
||||
* @author Masayoshi Okutsu
|
||||
* @since 1.8
|
||||
* @revised 9
|
||||
* @see ResourceBundle#getBundle(String, java.util.Locale, ClassLoader, ResourceBundle.Control)
|
||||
* ResourceBundle.getBundle
|
||||
* @see java.util.ServiceLoader#load(Class)
|
||||
|
@ -153,7 +153,6 @@ public interface Element extends AnnotatedConstruct {
|
||||
* @see VariableElement#getSimpleName
|
||||
* @see ModuleElement#getSimpleName
|
||||
* @see RecordComponentElement#getSimpleName
|
||||
* @revised 9
|
||||
*/
|
||||
Name getSimpleName();
|
||||
|
||||
@ -194,7 +193,6 @@ public interface Element extends AnnotatedConstruct {
|
||||
*
|
||||
* @return the enclosing element, or {@code null} if there is none
|
||||
* @see Elements#getPackageOf
|
||||
* @revised 9
|
||||
*/
|
||||
Element getEnclosingElement();
|
||||
|
||||
@ -231,7 +229,6 @@ public interface Element extends AnnotatedConstruct {
|
||||
* @jls 8.8.9 Default Constructor
|
||||
* @jls 8.9 Enum Classes
|
||||
* @jls 8.10 Record Classes
|
||||
* @revised 9
|
||||
*/
|
||||
List<? extends Element> getEnclosedElements();
|
||||
|
||||
|
@ -127,8 +127,6 @@ public interface PackageElement extends Element, QualifiedNameable {
|
||||
* processing environment configured for a {@linkplain
|
||||
* javax.annotation.processing.ProcessingEnvironment#getSourceVersion
|
||||
* source version} without modules.
|
||||
*
|
||||
* @revised 9
|
||||
*/
|
||||
@Override
|
||||
Element getEnclosingElement();
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2006, 2022, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2006, 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
|
||||
@ -120,8 +120,6 @@ public enum StandardLocation implements Location {
|
||||
*
|
||||
* @param name a name
|
||||
* @return a location
|
||||
*
|
||||
* @revised 9
|
||||
*/
|
||||
public static Location locationFor(final String name) {
|
||||
if (locations.isEmpty()) {
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2003, 2016, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2003, 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
|
||||
@ -190,8 +190,6 @@ public interface ClassFileTransformer {
|
||||
* if the input does not represent a well-formed class file
|
||||
* @return a well-formed class file buffer (the result of the transform),
|
||||
* or {@code null} if no transform is performed
|
||||
*
|
||||
* @revised 9
|
||||
*/
|
||||
default byte[]
|
||||
transform( ClassLoader loader,
|
||||
|
@ -327,8 +327,6 @@
|
||||
* transformed classes to read the unnamed module of both class loaders.
|
||||
*
|
||||
* @since 1.5
|
||||
* @revised 1.6
|
||||
* @revised 9
|
||||
*/
|
||||
|
||||
package java.lang.instrument;
|
||||
|
@ -885,8 +885,6 @@ public class ThreadInfo {
|
||||
* @return a {@code ThreadInfo} object represented
|
||||
* by {@code cd} if {@code cd} is not {@code null};
|
||||
* {@code null} otherwise.
|
||||
*
|
||||
* @revised 9
|
||||
*/
|
||||
public static ThreadInfo from(CompositeData cd) {
|
||||
if (cd == null) {
|
||||
|
Loading…
Reference in New Issue
Block a user