[jdk20u] Integrated: 8307466: java.time.Instant calculation bug in until and between methods
Roger Riggs
rriggs at openjdk.org
Fri May 12 14:59:56 UTC 2023
On Thu, 11 May 2023 17:58:24 GMT, Roger Riggs <rriggs at openjdk.org> wrote:
> Backport the fix for [JDK-8307466](https://bugs.openjdk.org/browse/JDK-8307466) from openjdk/jdk.
> 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.
This pull request has now been integrated.
Changeset: 47b3b4c8
Author: Roger Riggs <rriggs at openjdk.org>
URL: https://git.openjdk.org/jdk20u/commit/47b3b4c856829f32d0c8d4583f3670cb34a19a3d
Stats: 78 lines in 2 files changed: 70 ins; 0 del; 8 mod
8307466: java.time.Instant calculation bug in until and between methods
Reviewed-by: naoto
Backport-of: 356667f1559396b09e0b830d92978f2ea7a9300b
-------------
PR: https://git.openjdk.org/jdk20u/pull/78
More information about the jdk-updates-dev
mailing list