On Thu, 24 Sep 2026 12:46:07 GMT, Jorn Vernee <[email protected]> wrote:
>> Yunbo Zhang has updated the pull request incrementally with one additional
>> commit since the last revision:
>>
>> 8367022: Parameterize invalid fold position tests
>
> test/jdk/java/lang/invoke/FoldTest.java line 105:
>
>> 103: Integer.MAX_VALUE
>> 104: };
>> 105: for (int pos : invalidPositions) {
>
> I suggest using `@ParameterizedTest` as that would still run all the cases
> instead of a failure.
Thanks. I've changed this to a parameterized test using `@MethodSource`, so
each invalid position is tested separately.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/32618#discussion_r4111083832