On Mon, 28 Sep 2026 18:30:52 GMT, Eirik Bjørsnøs <[email protected]> wrote:

> `foldArguments` does not currently specify that `IllegalArgumentException` is 
> thrown for negative positions or positions out of bounds for target arity. 
> Should it?
> 
> See `dropArguments` which does specify out of bounds position.
> 
> @JornVernee

Yes, good catch! It definitely should say something in the documentation.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/32618#issuecomment-5935571136

Reply via email to