RFR: 8266846: Add java.time.InstantSource [v3]

Stephen Colebourne scolebourne at openjdk.java.net
Wed May 19 21:58:11 UTC 2021


On Tue, 18 May 2021 23:18:42 GMT, Stephen Colebourne <scolebourne at openjdk.org> wrote:

>> 8266846: Add java.time.InstantSource
>
> Stephen Colebourne has updated the pull request incrementally with one additional commit since the last revision:
> 
>   8266846: Add java.time.InstantSource

I've made the obvious changes to fix the offset reflection. However it does now mean that the offset is being altered for a singleton where previously it would have only affected Clock.systemUtc(). Is the test class spun up in its own JVM process? Just want to make sure that manipulating the singleton clock won't impact other tests.

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

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


More information about the core-libs-dev mailing list