8225675: Outdated citation of JLS in java.lang.ref.Reference
Reviewed-by: lancea, jjg, mchung
--- a/src/java.base/share/classes/java/lang/ref/Reference.java Wed Jun 12 12:31:32 2019 -0700
+++ b/src/java.base/share/classes/java/lang/ref/Reference.java Wed Jun 12 14:14:39 2019 -0700
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2018, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2019, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -418,10 +418,10 @@
* {@code synchronized} blocks or methods, or using other synchronization
* facilities are not possible or do not provide the desired control. This
* method is applicable only when reclamation may have visible effects,
- * which is possible for objects with finalizers (See
- * <a href="https://docs.oracle.com/javase/specs/jls/se8/html/jls-12.html#jls-12.6">
- * Section 12.6 17 of <cite>The Java™ Language Specification</cite></a>)
- * that are implemented in ways that rely on ordering control for correctness.
+ * which is possible for objects with finalizers (See Section 12.6
+ * of <cite>The Java™ Language Specification</cite>) that
+ * are implemented in ways that rely on ordering control for
+ * correctness.
*
* @apiNote
* Finalization may occur whenever the virtual machine detects that no
@@ -508,6 +508,7 @@
*
* @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) {