8180428: Clarify implementation note in Clock.java to match implementation changes made by JDK-8068730
authordfuchs
Tue, 23 May 2017 11:33:01 +0100
changeset 45329 9a5dc512845a
parent 45259 e09145bcfcc5
child 45330 d33052a04c7b
8180428: Clarify implementation note in Clock.java to match implementation changes made by JDK-8068730 Reviewed-by: dholmes, scolebourne
jdk/src/java.base/share/classes/java/time/Clock.java
--- a/jdk/src/java.base/share/classes/java/time/Clock.java	Mon May 22 11:08:26 2017 -0700
+++ b/jdk/src/java.base/share/classes/java/time/Clock.java	Tue May 23 11:33:01 2017 +0100
@@ -127,10 +127,13 @@
  * document whether or not they do support serialization.
  *
  * @implNote
- * The clock implementation provided here is based on {@link System#currentTimeMillis()}.
- * That method provides little to no guarantee about the accuracy of the clock.
- * Applications requiring a more accurate clock must implement this abstract class
- * themselves using a different external clock, such as an NTP server.
+ * The clock implementation provided here is based on the same underlying clock
+ * as {@link System#currentTimeMillis()}, but may have a precision finer than
+ * milliseconds if available.
+ * However, little to no guarantee is provided about the accuracy of the
+ * underlying clock. Applications requiring a more accurate clock must implement
+ * this abstract class themselves using a different external clock, such as an
+ * NTP server.
  *
  * @since 1.8
  */