On Tue, 18 May 2021 23:18:42 GMT, Stephen Colebourne <[email protected]>
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