Skip to content

Commit f39fc0a

Browse files
committed
8314738: Remove all occurrences of and support for @Revised
Reviewed-by: mr
1 parent 6b9df03 commit f39fc0a

28 files changed

+8
-124
lines changed

make/Docs.gmk

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ MODULES_SOURCE_PATH := $(call PathList, $(call GetModuleSrcPath) )
6767
# ordering of tags as the tags are otherwise ordered in order of definition.
6868
JAVADOC_TAGS := \
6969
-tag beaninfo:X \
70-
-tag revised:X \
7170
-tag since.unbundled:X \
7271
-tag Note:X \
7372
-tag ToDo:X \

src/java.base/share/classes/java/io/FileInputStream.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -499,8 +499,6 @@ public int available() throws IOException {
499499
* this method should be prepared to handle possible reentrant invocation.
500500
*
501501
* @throws IOException {@inheritDoc}
502-
*
503-
* @revised 1.4
504502
*/
505503
@Override
506504
public void close() throws IOException {

src/java.base/share/classes/java/io/FileOutputStream.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -392,8 +392,6 @@ public void write(byte[] b, int off, int len) throws IOException {
392392
* this method should be prepared to handle possible reentrant invocation.
393393
*
394394
* @throws IOException if an I/O error occurs.
395-
*
396-
* @revised 1.4
397395
*/
398396
@Override
399397
public void close() throws IOException {

src/java.base/share/classes/java/io/InputStreamReader.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,6 @@ public InputStreamReader(InputStream in, CharsetDecoder dec) {
157157
* {@code null} if the stream has been closed
158158
*
159159
* @see Charset
160-
*
161-
* @revised 1.4
162160
*/
163161
public String getEncoding() {
164162
return sd.getEncoding();

src/java.base/share/classes/java/io/OutputStreamWriter.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,8 +176,6 @@ public OutputStreamWriter(OutputStream out, CharsetEncoder enc) {
176176
* {@code null} if the stream has been closed
177177
*
178178
* @see Charset
179-
*
180-
* @revised 1.4
181179
*/
182180
public String getEncoding() {
183181
return se.getEncoding();

src/java.base/share/classes/java/io/RandomAccessFile.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,6 @@ public class RandomAccessFile implements DataOutput, DataInput, Closeable {
129129
* @see java.lang.SecurityException
130130
* @see java.lang.SecurityManager#checkRead(java.lang.String)
131131
* @see java.lang.SecurityManager#checkWrite(java.lang.String)
132-
* @revised 1.4
133132
*/
134133
public RandomAccessFile(String name, String mode)
135134
throws FileNotFoundException
@@ -215,7 +214,6 @@ public RandomAccessFile(String name, String mode)
215214
* @see java.lang.SecurityManager#checkRead(java.lang.String)
216215
* @see java.lang.SecurityManager#checkWrite(java.lang.String)
217216
* @see java.nio.channels.FileChannel#force(boolean)
218-
* @revised 1.4
219217
*/
220218
public RandomAccessFile(File file, String mode)
221219
throws FileNotFoundException
@@ -703,8 +701,6 @@ public void setLength(long newLength) throws IOException {
703701
* this method should be prepared to handle possible reentrant invocation.
704702
*
705703
* @throws IOException if an I/O error occurs.
706-
*
707-
* @revised 1.4
708704
*/
709705
public void close() throws IOException {
710706
if (closed) {

src/java.base/share/classes/java/lang/Class.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1168,7 +1168,6 @@ public Type getGenericSuperclass() {
11681168
* this method returns {@code null}.
11691169
*
11701170
* @return the package of this class.
1171-
* @revised 9
11721171
*/
11731172
public Package getPackage() {
11741173
if (isPrimitive() || isArray()) {
@@ -3029,7 +3028,6 @@ public Constructor<T> getDeclaredConstructor(Class<?>... parameterTypes)
30293028
*
30303029
* @see Module#getResourceAsStream(String)
30313030
* @since 1.1
3032-
* @revised 9
30333031
*/
30343032
@CallerSensitive
30353033
public InputStream getResourceAsStream(String name) {
@@ -3125,7 +3123,6 @@ public InputStream getResourceAsStream(String name) {
31253123
* manager.
31263124
* @throws NullPointerException If {@code name} is {@code null}
31273125
* @since 1.1
3128-
* @revised 9
31293126
*/
31303127
@CallerSensitive
31313128
public URL getResource(String name) {

src/java.base/share/classes/java/lang/ClassLoader.java

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,6 @@
227227
* @jls 13.1 The Form of a Binary
228228
* @see #resolveClass(Class)
229229
* @since 1.0
230-
* @revised 9
231230
*/
232231
public abstract class ClassLoader {
233232

@@ -881,7 +880,6 @@ protected final Class<?> defineClass(byte[] b, int off, int len)
881880
* @see java.security.SecureClassLoader
882881
*
883882
* @since 1.1
884-
* @revised 9
885883
*/
886884
protected final Class<?> defineClass(String name, byte[] b, int off, int len)
887885
throws ClassFormatError
@@ -1015,8 +1013,6 @@ private void postDefineClass(Class<?> c, ProtectionDomain pd) {
10151013
* certificates than this class, or if {@code name} begins with
10161014
* "{@code java.}" and this class loader is not the platform
10171015
* class loader or its ancestor.
1018-
*
1019-
* @revised 9
10201016
*/
10211017
protected final Class<?> defineClass(String name, byte[] b, int off, int len,
10221018
ProtectionDomain protectionDomain)
@@ -1091,7 +1087,6 @@ protected final Class<?> defineClass(String name, byte[] b, int off, int len,
10911087
* @see #defineClass(String, byte[], int, int, ProtectionDomain)
10921088
*
10931089
* @since 1.5
1094-
* @revised 9
10951090
*/
10961091
protected final Class<?> defineClass(String name, java.nio.ByteBuffer b,
10971092
ProtectionDomain protectionDomain)
@@ -1404,7 +1399,6 @@ protected URL findResource(String moduleName, String name) throws IOException {
14041399
* @throws NullPointerException If {@code name} is {@code null}
14051400
*
14061401
* @since 1.1
1407-
* @revised 9
14081402
*/
14091403
public URL getResource(String name) {
14101404
Objects.requireNonNull(name);
@@ -1469,7 +1463,6 @@ public URL getResource(String name) {
14691463
* @throws NullPointerException If {@code name} is {@code null}
14701464
*
14711465
* @since 1.2
1472-
* @revised 9
14731466
*/
14741467
public Enumeration<URL> getResources(String name) throws IOException {
14751468
Objects.requireNonNull(name);
@@ -1567,7 +1560,6 @@ public Stream<URL> resources(String name) {
15671560
* denied by the security manager.
15681561
*
15691562
* @since 1.2
1570-
* @revised 9
15711563
*/
15721564
protected URL findResource(String name) {
15731565
return null;
@@ -1602,7 +1594,6 @@ protected URL findResource(String name) {
16021594
* If I/O errors occur
16031595
*
16041596
* @since 1.2
1605-
* @revised 9
16061597
*/
16071598
protected Enumeration<URL> findResources(String name) throws IOException {
16081599
return Collections.emptyEnumeration();
@@ -1687,7 +1678,6 @@ public final boolean isRegisteredAsParallelCapable() {
16871678
* denied by the security manager.
16881679
*
16891680
* @since 1.1
1690-
* @revised 9
16911681
*/
16921682
public static URL getSystemResource(String name) {
16931683
return getSystemClassLoader().getResource(name);
@@ -1723,7 +1713,6 @@ public static URL getSystemResource(String name) {
17231713
* If I/O errors occur
17241714
*
17251715
* @since 1.2
1726-
* @revised 9
17271716
*/
17281717
public static Enumeration<URL> getSystemResources(String name)
17291718
throws IOException
@@ -1755,7 +1744,6 @@ public static Enumeration<URL> getSystemResources(String name)
17551744
* @throws NullPointerException If {@code name} is {@code null}
17561745
*
17571746
* @since 1.1
1758-
* @revised 9
17591747
*/
17601748
public InputStream getResourceAsStream(String name) {
17611749
Objects.requireNonNull(name);
@@ -1788,7 +1776,6 @@ public InputStream getResourceAsStream(String name) {
17881776
* denied by the security manager.
17891777
*
17901778
* @since 1.1
1791-
* @revised 9
17921779
*/
17931780
public static InputStream getSystemResourceAsStream(String name) {
17941781
URL url = getSystemResource(name);
@@ -1948,9 +1935,6 @@ public static ClassLoader getPlatformClassLoader() {
19481935
* exception is thrown by that constructor when it is invoked. The
19491936
* underlying cause of the error can be retrieved via the
19501937
* {@link Throwable#getCause()} method.
1951-
*
1952-
* @revised 1.4
1953-
* @revised 9
19541938
*/
19551939
@CallerSensitive
19561940
public static ClassLoader getSystemClassLoader() {
@@ -2217,7 +2201,6 @@ private Package toPackage(String name, NamedPackage p, Module m) {
22172201
*
22182202
*
22192203
* @since 1.2
2220-
* @revised 9
22212204
*
22222205
* @jvms 5.3 Creation and Loading
22232206
* @see <a href="{@docRoot}/../specs/jar/jar.html#package-sealing">
@@ -2326,7 +2309,6 @@ public final Package[] getDefinedPackages() {
23262309
* @see ClassLoader#getDefinedPackage(String)
23272310
*
23282311
* @since 1.2
2329-
* @revised 9
23302312
*/
23312313
@Deprecated(since="9")
23322314
protected Package getPackage(String name) {
@@ -2361,7 +2343,6 @@ protected Package getPackage(String name) {
23612343
* @see ClassLoader#getDefinedPackages()
23622344
*
23632345
* @since 1.2
2364-
* @revised 9
23652346
*/
23662347
protected Package[] getPackages() {
23672348
Stream<Package> pkgs = packages();

src/java.base/share/classes/java/lang/Package.java

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 1997, 2021, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 1997, 2023, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -114,7 +114,6 @@
114114
* @see ClassLoader#definePackage(String, String, String, String, String, String, String, URL)
115115
*
116116
* @since 1.2
117-
* @revised 9
118117
*/
119118
public class Package extends NamedPackage implements java.lang.reflect.AnnotatedElement {
120119
/**
@@ -211,8 +210,6 @@ public String getImplementationVersion() {
211210
* is returned if it is not known.
212211
* @return the vendor that implemented this package, {@code null}
213212
* is returned if it is not known.
214-
*
215-
* @revised 9
216213
*/
217214
public String getImplementationVendor() {
218215
return versionInfo.implVendor;
@@ -355,8 +352,6 @@ public boolean isCompatibleWith(String desired)
355352
* a {@code Package} for the specified class loader.
356353
*
357354
* @see ClassLoader#getDefinedPackage
358-
*
359-
* @revised 9
360355
*/
361356
@CallerSensitive
362357
@Deprecated(since="9")
@@ -379,8 +374,6 @@ public static Package getPackage(String name) {
379374
* class loader and its ancestors
380375
*
381376
* @see ClassLoader#getDefinedPackages
382-
*
383-
* @revised 9
384377
*/
385378
@CallerSensitive
386379
public static Package[] getPackages() {

src/java.base/share/classes/java/lang/StackTraceElement.java

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2000, 2022, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2000, 2023, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* 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 {
118118
* @throws NullPointerException if {@code declaringClass} or
119119
* {@code methodName} is null
120120
* @since 1.5
121-
* @revised 9
122121
*/
123122
public StackTraceElement(String declaringClass, String methodName,
124123
String fileName, int lineNumber) {
@@ -355,7 +354,6 @@ public boolean isNativeMethod() {
355354
* {@link java.lang.StackWalker.StackFrame}, where an implementation may
356355
* choose to omit some element in the returned string.
357356
*
358-
* @revised 9
359357
* @see Throwable#printStackTrace()
360358
*/
361359
@Override
@@ -426,8 +424,6 @@ private static int length(String s) {
426424
* @return true if the specified object is another
427425
* {@code StackTraceElement} instance representing the same
428426
* execution point as this instance.
429-
*
430-
* @revised 9
431427
*/
432428
public boolean equals(Object obj) {
433429
if (obj==this)

0 commit comments

Comments
 (0)