@@ -517,7 +517,7 @@ public sealed interface MemorySegment permits AbstractMemorySegmentImpl {
517
517
*
518
518
* @apiNote When using this method to pass a segment address to some external
519
519
* operation (e.g. a JNI function), clients must ensure that the segment is
520
- * kept <a href="../../../ java/ lang/ref/package.html# reachability"> reachable</a>
520
+ * kept {@linkplain java. lang.ref## reachability reachable}
521
521
* for the entire duration of the operation. A failure to do so might result
522
522
* in the premature deallocation of the region of memory backing the memory
523
523
* segment, in case the segment has been allocated with an
@@ -785,7 +785,7 @@ public sealed interface MemorySegment permits AbstractMemorySegmentImpl {
785
785
* backing region of memory is no longer available. Furthermore, if the
786
786
* provided scope is the scope of an {@linkplain Arena#ofAuto() automatic arena},
787
787
* the cleanup action must not prevent the scope from becoming
788
- * <a href="../../../ java/ lang/ref/package.html# reachability"> unreachable</a> .
788
+ * {@linkplain java. lang.ref## reachability unreachable} .
789
789
* A failure to do so will permanently prevent the regions of memory
790
790
* allocated by the automatic arena from being deallocated.
791
791
*
@@ -836,7 +836,7 @@ public sealed interface MemorySegment permits AbstractMemorySegmentImpl {
836
836
* backing region of memory is no longer available. Furthermore, if the
837
837
* provided scope is the scope of an {@linkplain Arena#ofAuto() automatic arena},
838
838
* the cleanup action must not prevent the scope from becoming
839
- * <a href="../../../ java/ lang/ref/package.html# reachability"> unreachable</a> .
839
+ * {@linkplain java. lang.ref## reachability unreachable} .
840
840
* A failure to do so will permanently prevent the regions of memory
841
841
* allocated by the automatic arena from being deallocated.
842
842
*
@@ -2662,7 +2662,7 @@ static long mismatch(MemorySegment srcSegment, long srcFromOffset, long srcToOff
2662
2662
* invalidated, either {@link Arena#close() explicitly}, or automatically, by the
2663
2663
* garbage collector. A segment scope that is invalidated automatically is an
2664
2664
* <em>automatic scope</em>. An automatic scope is always {@link #isAlive() alive}
2665
- * as long as it is <a href="../../../ java/ lang/ref/package.html# reachability"> reachable</a> .
2665
+ * as long as it is {@linkplain java. lang.ref## reachability reachable} .
2666
2666
* Segments associated with an automatic scope are:
2667
2667
* <ul>
2668
2668
* <li>Segments obtained from an {@linkplain Arena#ofAuto() automatic arena};</li>
0 commit comments