On Wed, 8 Sep 2021 13:58:59 GMT, Stephen Colebourne <scolebou...@openjdk.org> 
wrote:

> This change looks fine, but I think you also need a `millisUntil` private 
> method to fix the identical overflow problem with millis (which might as well 
> be fixed now).

`until()` for millis simply subtracts its `toEpochMilli()` from the end 
Instant's, so I am not sure that would cause the same false 
`ArithmeticException`. Can you please elaborate more?

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

PR: https://git.openjdk.java.net/jdk/pull/5396

Reply via email to