On Mon, 19 May 2025 18:30:20 GMT, Roger Riggs <rri...@openjdk.org> wrote:
>> Shaojin Wen has updated the pull request incrementally with one additional >> commit since the last revision: >> >> simplify code > > src/java.base/share/classes/java/util/UUID.java line 491: > >> 489: * hexadecimal representation, concatenate these hexadecimal >> strings into one continuous string, and then interpret >> 490: * this string as a hexadecimal number to form and return a long >> value. >> 491: */ > > Is there a reference describing this technique? Such as the Hacker's Delight > citation used in java.lang.Long? > If not a longer descriptive comment would be good for maintainability. This algorithm was researched and implemented by me, and I have added detailed description and comments ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/22928#discussion_r2096658412