RFR: 8297531: sun/security/krb5/MicroTime.java fails with "Exception: What? only 100 musec precision?"

Artur Barashev abarashev at openjdk.org
Mon Mar 3 18:58:58 UTC 2025


On Mon, 3 Mar 2025 18:28:27 GMT, Artur Barashev <abarashev at openjdk.org> wrote:

>> Loosen the check; the modified test is sufficient to demonstrate sub-millisecond precision.
>
> test/jdk/sun/security/krb5/MicroTime.java line 48:
> 
>> 46:         }
>> 47:         // We believe a nice KerberosTime can at least tell the
>> 48:         // difference of 100 musec.
> 
> What's "musec"? Should it be "nanoseconds"?

Nevermind, I see that it's actually microsecond.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/23867#discussion_r1978024627


More information about the security-dev mailing list