Integrated: 8273369: Computing micros between two instants unexpectedly overflows for some cases
naoto at openjdk.java.net
Fri Sep 10 16:40:49 UTC 2021
On Tue, 7 Sep 2021 18:18:49 GMT, Naoto Sato <naoto at openjdk.org> wrote:
> Please review the fix to the issue. Avoiding overflow by not calling nanosUntil() directly, which will overflow beyond Long.MAX_VALUE difference in nano unit.
This pull request has now been integrated.
Author: Naoto Sato <naoto at openjdk.org>
Stats: 52 lines in 3 files changed: 46 ins; 0 del; 6 mod
8273369: Computing micros between two instants unexpectedly overflows for some cases
Reviewed-by: lancea, rriggs, joehw
More information about the core-libs-dev