Integrated: 8310232: java.time.Clock$TickClock.millis() fails in runtime when tick is 1 microsecond

Naoto Sato naoto at openjdk.org
Thu Jun 29 16:18:04 UTC 2023


On Mon, 26 Jun 2023 17:31:29 GMT, Naoto Sato <naoto at openjdk.org> wrote:

> Fixing the `/ by zero` exception with tick durations less than a millisecond.

This pull request has now been integrated.

Changeset: a995aa6c
Author:    Naoto Sato <naoto at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/a995aa6cd1cd89c2ca6db72b060177eaf7065377
Stats:     11 lines in 2 files changed: 8 ins; 0 del; 3 mod

8310232: java.time.Clock$TickClock.millis() fails in runtime when tick is 1 microsecond

Reviewed-by: iris, rriggs, jpai

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

PR: https://git.openjdk.org/jdk/pull/14657


More information about the core-libs-dev mailing list