8314738: Remove all occurrences of and support for @revised

Reviewed-by: mr
This commit is contained in:
Pavel Rappo 2023-08-22 13:02:53 +00:00
parent 6b9df037e4
commit f39fc0aa2d
28 changed files with 8 additions and 124 deletions

View file

@ -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();

View file

@ -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) {

View file

@ -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 {

View file

@ -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;