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).

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

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

Changes: https://git.openjdk.org/jdk/pull/13846/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=13846&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8307466
  Stats: 77 lines in 2 files changed: 70 ins; 0 del; 7 mod
  Patch: https://git.openjdk.org/jdk/pull/13846.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/13846/head:pull/13846

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

Reply via email to