RFR: 8266846: Add java.time.InstantSource

Stephen Colebourne scolebourne at openjdk.java.net
Mon May 17 07:53:40 UTC 2021


On Thu, 13 May 2021 20:52:33 GMT, Stephen Colebourne <scolebourne at openjdk.org> wrote:

> 8266846: Add java.time.InstantSource

It would good to get confirmation in the review from @dholmes-ora or Mark Kralj-Taylor that my changes to the precise system clock are correct. Specifically, I moved the code from instance to static. I don't believe this changes the thread-safety, but it does need double checking (there was no discussion in the original thread concerning instance vs static).

Original thread: http://mail.openjdk.java.net/pipermail/core-libs-dev/2020-May/066670.html

-------------

PR: https://git.openjdk.java.net/jdk/pull/4016


More information about the core-libs-dev mailing list