On Mon, 18 May 2026 21:52:44 GMT, Raffaello Giulietti <[email protected]>
wrote:
>> src/java.base/share/classes/java/math/UInt64.java line 186:
>>
>>> 184: * @return the result described above.
>>> 185: */
>>> 186: static boolean lessThan(long x, long y) {
>>
>> Is it intentional that this method is _not_ public?
>>
>> Having a `@see` link to `Long.compareUnsigned`, if the obvious relationship
>> between the methods holds, would be helpful.
>
> The idea is that the `public` API point is `compareTo()`.
> But it's no deal to make the `static` comparison methods `public` as well.
Ah, I know see what you mean.
Addressed in new commit.
-------------
PR Review Comment:
https://git.openjdk.org/valhalla/pull/2420#discussion_r3266784255