mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8255262: Remove use of legacy custom @spec tag
Reviewed-by: lancea, mr, iris, alanb, darcy, mchung
This commit is contained in:
parent
a0b687bfb2
commit
0aa3c92577
69 changed files with 0 additions and 209 deletions
|
@ -526,7 +526,6 @@ public class DatagramSocket implements java.io.Closeable {
|
|||
* @see SecurityManager#checkMulticast(InetAddress)
|
||||
* @see SecurityManager#checkConnect
|
||||
* @revised 1.4
|
||||
* @spec JSR-51
|
||||
*/
|
||||
public void send(DatagramPacket p) throws IOException {
|
||||
delegate().send(p);
|
||||
|
@ -563,7 +562,6 @@ public class DatagramSocket implements java.io.Closeable {
|
|||
* @see java.net.DatagramPacket
|
||||
* @see java.net.DatagramSocket
|
||||
* @revised 1.4
|
||||
* @spec JSR-51
|
||||
*/
|
||||
public void receive(DatagramPacket p) throws IOException {
|
||||
delegate().receive(p);
|
||||
|
@ -886,7 +884,6 @@ public class DatagramSocket implements java.io.Closeable {
|
|||
* as well.
|
||||
*
|
||||
* @revised 1.4
|
||||
* @spec JSR-51
|
||||
*/
|
||||
public void close() {
|
||||
delegate().close();
|
||||
|
@ -914,7 +911,6 @@ public class DatagramSocket implements java.io.Closeable {
|
|||
* or {@code null} if this socket was not created for a channel
|
||||
*
|
||||
* @since 1.4
|
||||
* @spec JSR-51
|
||||
*/
|
||||
public DatagramChannel getChannel() {
|
||||
return null;
|
||||
|
|
|
@ -529,7 +529,6 @@ public class ServerSocket implements java.io.Closeable {
|
|||
* @return the new Socket
|
||||
* @see SecurityManager#checkAccept
|
||||
* @revised 1.4
|
||||
* @spec JSR-51
|
||||
*/
|
||||
public Socket accept() throws IOException {
|
||||
if (isClosed())
|
||||
|
@ -573,7 +572,6 @@ public class ServerSocket implements java.io.Closeable {
|
|||
*
|
||||
* @since 1.1
|
||||
* @revised 1.4
|
||||
* @spec JSR-51
|
||||
*/
|
||||
protected final void implAccept(Socket s) throws IOException {
|
||||
SocketImpl si = s.impl;
|
||||
|
@ -717,7 +715,6 @@ public class ServerSocket implements java.io.Closeable {
|
|||
*
|
||||
* @throws IOException if an I/O error occurs when closing the socket.
|
||||
* @revised 1.4
|
||||
* @spec JSR-51
|
||||
*/
|
||||
public void close() throws IOException {
|
||||
synchronized(closeLock) {
|
||||
|
@ -743,7 +740,6 @@ public class ServerSocket implements java.io.Closeable {
|
|||
* for a channel
|
||||
*
|
||||
* @since 1.4
|
||||
* @spec JSR-51
|
||||
*/
|
||||
public ServerSocketChannel getChannel() {
|
||||
return null;
|
||||
|
|
|
@ -591,7 +591,6 @@ public class Socket implements java.io.Closeable {
|
|||
* @throws IllegalArgumentException if endpoint is null or is a
|
||||
* SocketAddress subclass not supported by this socket
|
||||
* @since 1.4
|
||||
* @spec JSR-51
|
||||
*/
|
||||
public void connect(SocketAddress endpoint) throws IOException {
|
||||
connect(endpoint, 0);
|
||||
|
@ -613,7 +612,6 @@ public class Socket implements java.io.Closeable {
|
|||
* SocketAddress subclass not supported by this socket, or
|
||||
* if {@code timeout} is negative
|
||||
* @since 1.4
|
||||
* @spec JSR-51
|
||||
*/
|
||||
public void connect(SocketAddress endpoint, int timeout) throws IOException {
|
||||
if (endpoint == null)
|
||||
|
@ -886,7 +884,6 @@ public class Socket implements java.io.Closeable {
|
|||
* for a channel
|
||||
*
|
||||
* @since 1.4
|
||||
* @spec JSR-51
|
||||
*/
|
||||
public SocketChannel getChannel() {
|
||||
return null;
|
||||
|
@ -935,7 +932,6 @@ public class Socket implements java.io.Closeable {
|
|||
* using {@link #shutdownInput()}
|
||||
*
|
||||
* @revised 1.4
|
||||
* @spec JSR-51
|
||||
*/
|
||||
public InputStream getInputStream() throws IOException {
|
||||
if (isClosed())
|
||||
|
@ -1007,7 +1003,6 @@ public class Socket implements java.io.Closeable {
|
|||
* @throws IOException if an I/O error occurs when creating the
|
||||
* output stream or if the socket is not connected.
|
||||
* @revised 1.4
|
||||
* @spec JSR-51
|
||||
*/
|
||||
public OutputStream getOutputStream() throws IOException {
|
||||
if (isClosed())
|
||||
|
@ -1581,7 +1576,6 @@ public class Socket implements java.io.Closeable {
|
|||
*
|
||||
* @throws IOException if an I/O error occurs when closing this socket.
|
||||
* @revised 1.4
|
||||
* @spec JSR-51
|
||||
* @see #isClosed
|
||||
*/
|
||||
public synchronized void close() throws IOException {
|
||||
|
|
|
@ -70,7 +70,6 @@ class SocketInputStream extends FileInputStream {
|
|||
* @return the file channel associated with this file input stream
|
||||
*
|
||||
* @since 1.4
|
||||
* @spec JSR-51
|
||||
*/
|
||||
public final FileChannel getChannel() {
|
||||
return null;
|
||||
|
|
|
@ -67,7 +67,6 @@ class SocketOutputStream extends FileOutputStream {
|
|||
* @return the file channel associated with this file output stream
|
||||
*
|
||||
* @since 1.4
|
||||
* @spec JSR-51
|
||||
*/
|
||||
public final FileChannel getChannel() {
|
||||
return null;
|
||||
|
|
|
@ -206,7 +206,6 @@ public class URLClassLoader extends SecureClassLoader implements Closeable {
|
|||
* allow creation of a class loader.
|
||||
*
|
||||
* @since 9
|
||||
* @spec JPMS
|
||||
*/
|
||||
public URLClassLoader(String name,
|
||||
URL[] urls,
|
||||
|
@ -237,7 +236,6 @@ public class URLClassLoader extends SecureClassLoader implements Closeable {
|
|||
* creation of a class loader.
|
||||
*
|
||||
* @since 9
|
||||
* @spec JPMS
|
||||
*/
|
||||
public URLClassLoader(String name, URL[] urls, ClassLoader parent,
|
||||
URLStreamHandlerFactory factory) {
|
||||
|
@ -531,7 +529,6 @@ public class URLClassLoader extends SecureClassLoader implements Closeable {
|
|||
* @return the newly defined {@code Package} object
|
||||
*
|
||||
* @revised 9
|
||||
* @spec JPMS
|
||||
*/
|
||||
protected Package definePackage(String name, Manifest man, URL url) {
|
||||
String specTitle = null, specVersion = null, specVendor = null;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue