On Fri, 5 May 2023 21:28:25 GMT, Roger Riggs <rri...@openjdk.org> wrote:

> The implementation of java.time.Instant.until(I2, ChronoUnit) in some cases 
> did not correctly borrow or carry from the nanos to the seconds when 
> computing using ChronoUnit.MILLIS or ChronoUnit.MICROS.
> The errant computation was introduced by 
> [JDK-8273369](https://bugs.openjdk.org/browse/JDK-8273369).

This pull request has now been integrated.

Changeset: 356667f1
Author:    Roger Riggs <rri...@openjdk.org>
URL:       
https://git.openjdk.org/jdk/commit/356667f1559396b09e0b830d92978f2ea7a9300b
Stats:     78 lines in 2 files changed: 70 ins; 0 del; 8 mod

8307466: java.time.Instant calculation bug in until and between methods

Co-authored-by: Raffaello Giulietti <rgiulie...@openjdk.org>
Reviewed-by: scolebourne, naoto

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

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

Reply via email to