diff --git a/src/java.base/share/classes/java/lang/ref/Reference.java b/src/java.base/share/classes/java/lang/ref/Reference.java index 24fc7dc5f4e..17d8c7b669c 100644 --- a/src/java.base/share/classes/java/lang/ref/Reference.java +++ b/src/java.base/share/classes/java/lang/ref/Reference.java @@ -134,7 +134,7 @@ public abstract class Reference { * [inactive/unregistered] * * Unreachable states (because enqueue also clears): - * [active/enqeued] + * [active/enqueued] * [active/dequeued] * * [1] Unregistered is not permitted for FinalReferences. @@ -510,8 +510,7 @@ public abstract class Reference { * this method. Invocation of this method does not itself initiate garbage * collection or finalization. * - *

This method establishes an ordering for - * strong reachability + *

This method establishes an ordering for strong reachability * with respect to garbage collection. It controls relations that are * otherwise only implicit in a program -- the reachability conditions * triggering garbage collection. This method is designed for use in @@ -609,7 +608,6 @@ public abstract class Reference { * * @param ref the reference. If {@code null}, this method has no effect. * @since 9 - * @jls 12.6 Finalization of Class Instances */ @ForceInline public static void reachabilityFence(Object ref) {