RFR: 8273369: Computing micros between two instants unexpectedly overflows for some cases [v5]
Naoto Sato
naoto at openjdk.java.net
Wed Sep 8 17:40:30 UTC 2021
On Wed, 8 Sep 2021 15:35:27 GMT, Stephen Colebourne <scolebourne at openjdk.org> wrote:
> `toEpochMilli()` overflows at large/small values. Thus any attempt to calculate the difference between two very large instants would fail.
Thanks. Fixed.
-------------
PR: https://git.openjdk.java.net/jdk/pull/5396
More information about the core-libs-dev
mailing list