mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-21 15:55:15 +00:00
8180428: Clarify implementation note in Clock.java to match implementation changes made by JDK-8068730
Reviewed-by: dholmes, scolebourne
This commit is contained in:
parent
20eec3c5a8
commit
b518bb5bcd
@ -127,10 +127,13 @@ import jdk.internal.misc.VM;
|
||||
* 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
|
||||
*/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user