RFR: 8266846: Add java.time.InstantSource [v3]
Naoto Sato
naoto at openjdk.java.net
Wed May 19 17:49:43 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
Another test started failing with your fix. Apparently, the following piece in java/time/test/java/time/TestClock_System.java throws ExceptionInInitializerError.
static {
try {
offsetField = Class.forName("java.time.Clock$SystemClock").getDeclaredField("offset");
offsetField.setAccessible(true);
} catch (ClassNotFoundException | NoSuchFieldException ex) {
throw new ExceptionInInitializerError(ex);
}
}
-------------
PR: https://git.openjdk.java.net/jdk/pull/4016
More information about the core-libs-dev
mailing list