Skip to content

Commit 4661690

Browse files
8262883: doccheck: Broken links in java.base
Reviewed-by: lancea
1 parent 75b039a commit 4661690

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

src/java.base/share/classes/java/lang/invoke/MethodHandles.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1891,7 +1891,7 @@ public enum ClassOption {
18911891
*
18921892
* <p> By default, a hidden class or interface may be unloaded
18931893
* even if the class loader that is marked as its defining loader is
1894-
* <a href="../ref/package.html#reachability">reachable</a>.
1894+
* <a href="../ref/package-summary.html#reachability">reachable</a>.
18951895
18961896
*
18971897
* @jls 12.7 Unloading of Classes and Interfaces
@@ -2031,7 +2031,7 @@ static int optionsToFlag(Set<ClassOption> options) {
20312031
*
20322032
* By default, however, a hidden class or interface may be unloaded even if
20332033
* the class loader that is marked as its defining loader is
2034-
* <a href="../ref/package.html#reachability">reachable</a>.
2034+
* <a href="../ref/package-summary.html#reachability">reachable</a>.
20352035
* This behavior is useful when a hidden class or interface serves multiple
20362036
* classes defined by arbitrary class loaders. In other cases, a hidden
20372037
* class or interface may be linked to a single class (or a small number of classes)

src/java.base/share/classes/java/net/UnixDomainSocketAddress.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
import java.nio.file.Path;
3636

3737
/**
38-
* A <a href="package-summary.html#unixdomain">Unix domain</a> socket address.
38+
* A Unix domain socket address.
3939
* A Unix domain socket address encapsulates a file-system path that Unix domain sockets
4040
* bind or connect to.
4141
*

src/java.base/share/classes/java/nio/channels/DatagramChannel.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ public static DatagramChannel open() throws IOException {
172172
* java.nio.channels.spi.SelectorProvider} object. The channel will not be
173173
* connected.
174174
*
175-
* @apiNote <a href="package-summary.html#unixdomain">Unix domain</a> sockets
175+
* @apiNote {@linkplain java.net.UnixDomainSocketAddress Unix domain} sockets
176176
* are not supported by DatagramChannel.
177177
*
178178
* @param family

src/java.base/share/classes/java/nio/channels/SocketChannel.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ public final int validOps() {
332332
* another socket can bind to the same name. If a socket channel to a Unix
333333
* Domain socket is <i>implicitly</i> bound by connecting it without calling
334334
* bind first, then its socket is
335-
* <a href="../../java/net/UnixDomainSocketAddress.html#unnamed">unnamed</a>
335+
* <a href="../../../java/net/UnixDomainSocketAddress.html#unnamed">unnamed</a>
336336
* with no corresponding socket file in the file-system. If a socket channel
337337
* to a Unix Domain socket is <i>automatically</i> bound by calling {@code
338338
* bind(null)} this results in an unnamed socket also.

0 commit comments

Comments
 (0)