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

Alan Bateman alanb at openjdk.org
Tue Jun 27 07:26: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.

test/jdk/java/time/test/java/time/TestClock_Tick.java line 77:

> 75:  * Test tick clock.
> 76:  *
> 77:  * @bug 8310232

Did you mean the put the "@bug" here? If you did then I assume you'll need to add the original bug ID too as TestClock_Tick wasn't created for 8310232.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/14657#discussion_r1243256353


More information about the core-libs-dev mailing list