8356632: Fix remaining {@link/@linkplain} tags with refer to private/protected types in java.base
Reviewed-by: weijun, liach
This commit is contained in:
parent
daa8eda530
commit
bd095896dd
@ -2821,10 +2821,10 @@ assertEquals("[x, y, z]", pb.command().toString());
|
||||
* if and only if one of the following is true:
|
||||
* <ul>
|
||||
* <li>{@code targetClass} is in {@code M0} and {@code M1}
|
||||
* {@linkplain Module#reads reads} {@code M0} and the type is
|
||||
* {@linkplain Module#canRead(Module)} reads} {@code M0} and the type is
|
||||
* in a package that is exported to at least {@code M1}.
|
||||
* <li>{@code targetClass} is in {@code M1} and {@code M0}
|
||||
* {@linkplain Module#reads reads} {@code M1} and the type is
|
||||
* {@linkplain Module#canRead(Module)} reads} {@code M1} and the type is
|
||||
* in a package that is exported to at least {@code M0}.
|
||||
* <li>{@code targetClass} is in a third module {@code M2} and both {@code M0}
|
||||
* and {@code M1} reads {@code M2} and the type is in a package
|
||||
@ -4890,7 +4890,7 @@ assert((int)twice.invokeExact(21) == 42);
|
||||
* @param type the type of the desired method handle
|
||||
* @return a constant method handle of the given type, which returns a default value of the given return type
|
||||
* @throws NullPointerException if the argument is null
|
||||
* @see MethodHandles#primitiveZero
|
||||
* @see MethodHandles#zero(Class)
|
||||
* @see MethodHandles#constant
|
||||
* @since 9
|
||||
*/
|
||||
|
@ -2020,7 +2020,7 @@ public final class ModuleDescriptor
|
||||
|
||||
/**
|
||||
* Provides a service with one or more implementations. The package for
|
||||
* each {@link Provides#providers provider} (or provider factory) is
|
||||
* each {@link Provides#providers() provider} (or provider factory) is
|
||||
* added to the module if not already added.
|
||||
*
|
||||
* @param p
|
||||
|
@ -679,7 +679,7 @@ public class Socket implements java.io.Closeable {
|
||||
* SocketAddress subclass not supported by this socket
|
||||
*
|
||||
* @since 1.4
|
||||
* @see #isBound
|
||||
* @see #isBound()
|
||||
*/
|
||||
public void bind(SocketAddress bindpoint) throws IOException {
|
||||
int s = state;
|
||||
@ -1612,7 +1612,7 @@ public class Socket implements java.io.Closeable {
|
||||
* as well.
|
||||
*
|
||||
* @throws IOException if an I/O error occurs when closing this socket.
|
||||
* @see #isClosed
|
||||
* @see #isClosed()
|
||||
*/
|
||||
public void close() throws IOException {
|
||||
synchronized (socketLock) {
|
||||
@ -1642,7 +1642,7 @@ public class Socket implements java.io.Closeable {
|
||||
* @see java.net.Socket#shutdownOutput()
|
||||
* @see java.net.Socket#close()
|
||||
* @see java.net.Socket#setSoLinger(boolean, int)
|
||||
* @see #isInputShutdown
|
||||
* @see #isInputShutdown()
|
||||
*/
|
||||
public void shutdownInput() throws IOException {
|
||||
int s = state;
|
||||
@ -1672,7 +1672,7 @@ public class Socket implements java.io.Closeable {
|
||||
* @see java.net.Socket#shutdownInput()
|
||||
* @see java.net.Socket#close()
|
||||
* @see java.net.Socket#setSoLinger(boolean, int)
|
||||
* @see #isOutputShutdown
|
||||
* @see #isOutputShutdown()
|
||||
*/
|
||||
public void shutdownOutput() throws IOException {
|
||||
int s = state;
|
||||
|
@ -131,11 +131,11 @@ import jdk.internal.misc.Unsafe;
|
||||
* (including the case where a task was cancelled without executing);
|
||||
* {@link #isCompletedNormally} is true if a task completed without
|
||||
* cancellation or encountering an exception; {@link #isCancelled} is
|
||||
* true if the task was cancelled (in which case {@link #getException}
|
||||
* true if the task was cancelled (in which case {@link #getException()}
|
||||
* returns a {@link CancellationException}); and
|
||||
* {@link #isCompletedAbnormally} is true if a task was either
|
||||
* cancelled or encountered an exception, in which case {@link
|
||||
* #getException} will return either the encountered exception or
|
||||
* #getException()} will return either the encountered exception or
|
||||
* {@link CancellationException}.
|
||||
*
|
||||
* <p>The ForkJoinTask class is not usually directly subclassed.
|
||||
|
@ -707,8 +707,8 @@ public final class KEM {
|
||||
* the same key can be used to derive shared secrets in different ways.
|
||||
* If any extra information inside this object needs to be transmitted along
|
||||
* with the key encapsulation message so that the receiver is able to create
|
||||
* a matching decapsulator, it will be included as a byte array in the
|
||||
* {@link Encapsulated#params} field inside the encapsulation output.
|
||||
* a matching decapsulator, it will be included as a byte array returned by the
|
||||
* {@link Encapsulated#params()} method within the encapsulation output.
|
||||
* In this case, the security provider should provide an
|
||||
* {@code AlgorithmParameters} implementation using the same algorithm name
|
||||
* as the KEM. The receiver can initiate such an {@code AlgorithmParameters}
|
||||
|
Loading…
x
Reference in New Issue
Block a user