On Tue, 7 Feb 2023 13:09:39 GMT, ExE Boss <d...@openjdk.org> wrote: >> @ExE-Boss which problem such an overload would solve? It looks like, `int >> clamp(long, int, int)` can be used everywhere where proposed `int clamp(int, >> int, int)` could be useful. > > A pure `int`‑only overload doesn’t have to go through the `int` → `long` → > `int` conversion.
Is this a real problem? ------------- PR: https://git.openjdk.org/jdk/pull/12428