[jdk17u-dev] Withdrawn: 8273369: Computing micros between two instants unexpectedly overflows for some cases

Roland Mesde duke at openjdk.org
Tue Dec 2 17:00:57 UTC 2025


On Thu, 13 Nov 2025 17:37:21 GMT, Roland Mesde <duke at openjdk.org> wrote:

> Backporting JDK-8273369: Computing micros between two instants unexpectedly overflows for some cases. Avoids overflow by not calling nanosUntil() directly, which will overflow beyond Long.MAX_VALUE difference in nano unit.
> 
> Ran GHA Sanity Checks (passed) and related test (passed).

This pull request has been closed without being integrated.

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

PR: https://git.openjdk.org/jdk17u-dev/pull/4181


More information about the jdk-updates-dev mailing list