RFR: 8334015: Add Support for UUID Version 7 (UUIDv7) defined in RFC 9562 [v23]
Jaikiran Pai
jpai at openjdk.org
Mon Nov 10 08:07:22 UTC 2025
On Sun, 9 Nov 2025 18:23:01 GMT, ExE Boss <duke at openjdk.org> wrote:
>> Kieran Farrell has updated the pull request incrementally with one additional commit since the last revision:
>>
>> update api note
>
> test/jdk/java/util/UUID/UUIDTest.java line 154:
>
>> 152: long timestamp = System.currentTimeMillis();
>> 153: try {
>> 154: UUID u = UUID.ofEpochMillis(timestamp);
>
> Note that this test will start failing in 20889 [HE].
>
> [HE]: https://en.wikipedia.org/wiki/Holocene_calendar
Hello @ExE-Boss, what would be the failure in that case? I had a very brief looked at the linked page and I couldn't relate how that impacts the timestamp based on `UUID.ofEpocMillis(...)`.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/25303#discussion_r2509187188
More information about the core-libs-dev
mailing list