RFR: 8273369: Computing micros between two instants unexpectedly overflows for some cases [v4]
Naoto Sato
naoto at openjdk.java.net
Wed Sep 8 00:36:30 UTC 2021
On Wed, 8 Sep 2021 00:15:46 GMT, Joe Wang <joehw at openjdk.org> wrote:
>> Naoto Sato has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Moved the constant to LocalTime for consistency.
>
> test/jdk/java/time/test/java/time/TestInstant.java line 102:
>
>> 100:
>> 101: @Test
>> 102: public void test_microsUntil() {
>
> A comment about the test might be helpful.
Indeed. Added some comments to the test.
-------------
PR: https://git.openjdk.java.net/jdk/pull/5396
More information about the core-libs-dev
mailing list