diff --git a/make/Docs.gmk b/make/Docs.gmk index 183318ec435..a9985ffa4d8 100644 --- a/make/Docs.gmk +++ b/make/Docs.gmk @@ -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 \ diff --git a/src/java.base/share/classes/java/io/FileInputStream.java b/src/java.base/share/classes/java/io/FileInputStream.java index 2c4e8812b18..3a95f237e65 100644 --- a/src/java.base/share/classes/java/io/FileInputStream.java +++ b/src/java.base/share/classes/java/io/FileInputStream.java @@ -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 { diff --git a/src/java.base/share/classes/java/io/FileOutputStream.java b/src/java.base/share/classes/java/io/FileOutputStream.java index c596d98b3ce..90bab607f70 100644 --- a/src/java.base/share/classes/java/io/FileOutputStream.java +++ b/src/java.base/share/classes/java/io/FileOutputStream.java @@ -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 { diff --git a/src/java.base/share/classes/java/io/InputStreamReader.java b/src/java.base/share/classes/java/io/InputStreamReader.java index 95234cc303b..b61c48ddf15 100644 --- a/src/java.base/share/classes/java/io/InputStreamReader.java +++ b/src/java.base/share/classes/java/io/InputStreamReader.java @@ -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(); diff --git a/src/java.base/share/classes/java/io/OutputStreamWriter.java b/src/java.base/share/classes/java/io/OutputStreamWriter.java index bcb132e690c..b84c3b50391 100644 --- a/src/java.base/share/classes/java/io/OutputStreamWriter.java +++ b/src/java.base/share/classes/java/io/OutputStreamWriter.java @@ -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(); diff --git a/src/java.base/share/classes/java/io/RandomAccessFile.java b/src/java.base/share/classes/java/io/RandomAccessFile.java index 0be326b0a44..7d5b17c2783 100644 --- a/src/java.base/share/classes/java/io/RandomAccessFile.java +++ b/src/java.base/share/classes/java/io/RandomAccessFile.java @@ -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) { diff --git a/src/java.base/share/classes/java/lang/Class.java b/src/java.base/share/classes/java/lang/Class.java index bfbe4d9ae6c..991c8bcf646 100644 --- a/src/java.base/share/classes/java/lang/Class.java +++ b/src/java.base/share/classes/java/lang/Class.java @@ -1168,7 +1168,6 @@ public final class Class 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 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 implements java.io.Serializable, * manager. * @throws NullPointerException If {@code name} is {@code null} * @since 1.1 - * @revised 9 */ @CallerSensitive public URL getResource(String name) { diff --git a/src/java.base/share/classes/java/lang/ClassLoader.java b/src/java.base/share/classes/java/lang/ClassLoader.java index 079a40accde..c68681f35a2 100644 --- a/src/java.base/share/classes/java/lang/ClassLoader.java +++ b/src/java.base/share/classes/java/lang/ClassLoader.java @@ -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 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 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 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 @@ -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 pkgs = packages(); diff --git a/src/java.base/share/classes/java/lang/Package.java b/src/java.base/share/classes/java/lang/Package.java index 22a32c36894..d48320a66cf 100644 --- a/src/java.base/share/classes/java/lang/Package.java +++ b/src/java.base/share/classes/java/lang/Package.java @@ -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() { diff --git a/src/java.base/share/classes/java/lang/StackTraceElement.java b/src/java.base/share/classes/java/lang/StackTraceElement.java index 9b87d2ae7cd..ed8d47a4e50 100644 --- a/src/java.base/share/classes/java/lang/StackTraceElement.java +++ b/src/java.base/share/classes/java/lang/StackTraceElement.java @@ -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) diff --git a/src/java.base/share/classes/java/lang/Thread.java b/src/java.base/share/classes/java/lang/Thread.java index dc6a989f3ef..199a6be6023 100644 --- a/src/java.base/share/classes/java/lang/Thread.java +++ b/src/java.base/share/classes/java/lang/Thread.java @@ -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; diff --git a/src/java.base/share/classes/java/lang/invoke/MethodHandles.java b/src/java.base/share/classes/java/lang/invoke/MethodHandles.java index 3e61b179e7c..c55f08564ae 100644 --- a/src/java.base/share/classes/java/lang/invoke/MethodHandles.java +++ b/src/java.base/share/classes/java/lang/invoke/MethodHandles.java @@ -175,8 +175,6 @@ public class MethodHandles { * Also, it cannot access * caller sensitive methods. * @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 Cross-module lookups */ @@ -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() { diff --git a/src/java.base/share/classes/java/lang/reflect/AccessibleObject.java b/src/java.base/share/classes/java/lang/reflect/AccessibleObject.java index 1b1c2924e4f..d0b50047031 100644 --- a/src/java.base/share/classes/java/lang/reflect/AccessibleObject.java +++ b/src/java.base/share/classes/java/lang/reflect/AccessibleObject.java @@ -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() { diff --git a/src/java.base/share/classes/java/lang/reflect/Proxy.java b/src/java.base/share/classes/java/lang/reflect/Proxy.java index a638c6ef537..3c37153b875 100644 --- a/src/java.base/share/classes/java/lang/reflect/Proxy.java +++ b/src/java.base/share/classes/java/lang/reflect/Proxy.java @@ -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 Package and Module Membership of Proxy Class - * @revised 9 */ @Deprecated @CallerSensitive @@ -1015,7 +1013,6 @@ public class Proxy implements java.io.Serializable { * {@code null} * * @see Package and Module Membership of Proxy Class - * @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); diff --git a/src/java.base/share/classes/java/lang/reflect/package-info.java b/src/java.base/share/classes/java/lang/reflect/package-info.java index bdf42ee7e8c..a71eb2d9621 100644 --- a/src/java.base/share/classes/java/lang/reflect/package-info.java +++ b/src/java.base/share/classes/java/lang/reflect/package-info.java @@ -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; diff --git a/src/java.base/share/classes/java/net/DatagramSocket.java b/src/java.base/share/classes/java/net/DatagramSocket.java index 9a104349e4a..26220feac2c 100644 --- a/src/java.base/share/classes/java/net/DatagramSocket.java +++ b/src/java.base/share/classes/java/net/DatagramSocket.java @@ -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 { * *

If this socket has an associated channel then the channel is closed * as well. - * - * @revised 1.4 */ public void close() { delegate().close(); diff --git a/src/java.base/share/classes/java/net/ServerSocket.java b/src/java.base/share/classes/java/net/ServerSocket.java index e3aa92a846b..6e38ed4447d 100644 --- a/src/java.base/share/classes/java/net/ServerSocket.java +++ b/src/java.base/share/classes/java/net/ServerSocket.java @@ -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) { diff --git a/src/java.base/share/classes/java/net/Socket.java b/src/java.base/share/classes/java/net/Socket.java index bd65f634363..82a7a42badf 100644 --- a/src/java.base/share/classes/java/net/Socket.java +++ b/src/java.base/share/classes/java/net/Socket.java @@ -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 { diff --git a/src/java.base/share/classes/java/net/URLClassLoader.java b/src/java.base/share/classes/java/net/URLClassLoader.java index 97c95bc9f59..724ead583e4 100644 --- a/src/java.base/share/classes/java/net/URLClassLoader.java +++ b/src/java.base/share/classes/java/net/URLClassLoader.java @@ -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; diff --git a/src/java.base/share/classes/java/util/ResourceBundle.java b/src/java.base/share/classes/java/util/ResourceBundle.java index 147f098aac9..026a9b80820 100644 --- a/src/java.base/share/classes/java/util/ResourceBundle.java +++ b/src/java.base/share/classes/java/util/ResourceBundle.java @@ -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 Resource Bundles and Named Modules */ @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) diff --git a/src/java.base/share/classes/java/util/ServiceLoader.java b/src/java.base/share/classes/java/util/ServiceLoader.java index e1db8188162..d4858e7582a 100644 --- a/src/java.base/share/classes/java/util/ServiceLoader.java +++ b/src/java.base/share/classes/java/util/ServiceLoader.java @@ -386,7 +386,6 @@ import jdk.internal.reflect.Reflection; * * @author Mark Reinhold * @since 1.6 - * @revised 9 */ public final class ServiceLoader @@ -1355,8 +1354,6 @@ public final class ServiceLoader * * @return An iterator that lazily loads providers for this loader's * service - * - * @revised 9 */ public Iterator iterator() { @@ -1640,8 +1637,6 @@ public final class ServiceLoader * 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 * 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 ServiceLoader load(Class service) { @@ -1721,8 +1714,6 @@ public final class ServiceLoader * 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 ServiceLoader loadInstalled(Class service) { diff --git a/src/java.base/share/classes/java/util/spi/ResourceBundleControlProvider.java b/src/java.base/share/classes/java/util/spi/ResourceBundleControlProvider.java index 30e0225f531..fc9a3960e7e 100644 --- a/src/java.base/share/classes/java/util/spi/ResourceBundleControlProvider.java +++ b/src/java.base/share/classes/java/util/spi/ResourceBundleControlProvider.java @@ -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) diff --git a/src/java.compiler/share/classes/javax/lang/model/element/Element.java b/src/java.compiler/share/classes/javax/lang/model/element/Element.java index 473e428d9ad..150be74c7e1 100644 --- a/src/java.compiler/share/classes/javax/lang/model/element/Element.java +++ b/src/java.compiler/share/classes/javax/lang/model/element/Element.java @@ -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 getEnclosedElements(); diff --git a/src/java.compiler/share/classes/javax/lang/model/element/PackageElement.java b/src/java.compiler/share/classes/javax/lang/model/element/PackageElement.java index fd373436b33..651bbe70eee 100644 --- a/src/java.compiler/share/classes/javax/lang/model/element/PackageElement.java +++ b/src/java.compiler/share/classes/javax/lang/model/element/PackageElement.java @@ -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(); diff --git a/src/java.compiler/share/classes/javax/tools/StandardLocation.java b/src/java.compiler/share/classes/javax/tools/StandardLocation.java index 2a9079f5724..389f3410f4e 100644 --- a/src/java.compiler/share/classes/javax/tools/StandardLocation.java +++ b/src/java.compiler/share/classes/javax/tools/StandardLocation.java @@ -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()) { diff --git a/src/java.instrument/share/classes/java/lang/instrument/ClassFileTransformer.java b/src/java.instrument/share/classes/java/lang/instrument/ClassFileTransformer.java index 6df7a2ae697..d4c17f1cfdc 100644 --- a/src/java.instrument/share/classes/java/lang/instrument/ClassFileTransformer.java +++ b/src/java.instrument/share/classes/java/lang/instrument/ClassFileTransformer.java @@ -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, diff --git a/src/java.instrument/share/classes/java/lang/instrument/package-info.java b/src/java.instrument/share/classes/java/lang/instrument/package-info.java index 4219d51f05f..fe0ffc91a06 100644 --- a/src/java.instrument/share/classes/java/lang/instrument/package-info.java +++ b/src/java.instrument/share/classes/java/lang/instrument/package-info.java @@ -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; diff --git a/src/java.management/share/classes/java/lang/management/ThreadInfo.java b/src/java.management/share/classes/java/lang/management/ThreadInfo.java index 9701e1ae0d8..18c29d90e92 100644 --- a/src/java.management/share/classes/java/lang/management/ThreadInfo.java +++ b/src/java.management/share/classes/java/lang/management/ThreadInfo.java @@ -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) {