On Tue, 6 May 2025 12:23:44 GMT, Chen Liang <li...@openjdk.org> wrote:
>> This would require another implementation to be written. Maybe we can add >> that later? > > I feel like declaring a function is declaring redundant classes when we can > just reuse a DirectMethodHandle pointing to an actual method. Also the zero > alternative should be handled by the provided computing function/method > instead of handled by this utility. There is an MH variant now. The use of the zero alternative is optional, as if you put in `0`, it will have no effect. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/25040#discussion_r2077372099