8214457: Miscellaneous changes imported from jsr166 CVS 2018-12
authordl
Tue, 11 Dec 2018 19:55:27 -0800
changeset 52959 a35f7a452257
parent 52958 b4eaf570a588
child 52960 a6182c464b31
8214457: Miscellaneous changes imported from jsr166 CVS 2018-12 Reviewed-by: martin
src/java.base/share/classes/java/util/concurrent/locks/Lock.java
src/java.base/share/classes/java/util/concurrent/locks/StampedLock.java
src/java.base/share/classes/java/util/concurrent/package-info.java
--- a/src/java.base/share/classes/java/util/concurrent/locks/Lock.java	Tue Dec 11 19:55:27 2018 -0800
+++ b/src/java.base/share/classes/java/util/concurrent/locks/Lock.java	Tue Dec 11 19:55:27 2018 -0800
@@ -122,7 +122,7 @@
  * <p>All {@code Lock} implementations <em>must</em> enforce the same
  * memory synchronization semantics as provided by the built-in monitor
  * lock, as described in
- * <a href="https://docs.oracle.com/javase/specs/jls/se8/html/jls-17.html#jls-17.4">
+ * <a href="https://docs.oracle.com/javase/specs/jls/se11/html/jls-17.html#jls-17.4">
  * Chapter 17 of
  * <cite>The Java&trade; Language Specification</cite></a>:
  * <ul>
--- a/src/java.base/share/classes/java/util/concurrent/locks/StampedLock.java	Tue Dec 11 19:55:27 2018 -0800
+++ b/src/java.base/share/classes/java/util/concurrent/locks/StampedLock.java	Tue Dec 11 19:55:27 2018 -0800
@@ -133,7 +133,7 @@
  * <p><b>Memory Synchronization.</b> Methods with the effect of
  * successfully locking in any mode have the same memory
  * synchronization effects as a <em>Lock</em> action described in
- * <a href="https://docs.oracle.com/javase/specs/jls/se8/html/jls-17.html#jls-17.4">
+ * <a href="https://docs.oracle.com/javase/specs/jls/se11/html/jls-17.html#jls-17.4">
  * Chapter 17 of <cite>The Java&trade; Language Specification</cite></a>.
  * Methods successfully unlocking in write mode have the same memory
  * synchronization effects as an <em>Unlock</em> action.  In optimistic
--- a/src/java.base/share/classes/java/util/concurrent/package-info.java	Tue Dec 11 19:55:27 2018 -0800
+++ b/src/java.base/share/classes/java/util/concurrent/package-info.java	Tue Dec 11 19:55:27 2018 -0800
@@ -226,7 +226,7 @@
  *
  * <h2 id="MemoryVisibility">Memory Consistency Properties</h2>
  *
- * <a href="https://docs.oracle.com/javase/specs/jls/se8/html/jls-17.html#jls-17.4.5">
+ * <a href="https://docs.oracle.com/javase/specs/jls/se11/html/jls-17.html#jls-17.4.5">
  * Chapter 17 of
  * <cite>The Java&trade; Language Specification</cite></a> defines the
  * <i>happens-before</i> relation on memory operations such as reads and