On Wed, 31 Dec 2025 08:53:45 GMT, Michael McMahon <[email protected]> wrote:

>> test/jdk/com/sun/net/httpserver/HeadersTest.java line 162:
>> 
>>> 160:     }
>>> 161: 
>>> 162:     public static Object[][] responseHeaders() {
>> 
>> I assume this could be return `Stream<Arguments>` instead of `Object[][]`.
>
> That pattern is very common across many of these tests (62 sites). I can 
> change them, but I wonder how much improvement like this is within the scope 
> of this conversion effort.

It could, but I'd let the next person handle that. JUnit can handle object 
arrays just fine.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/28908#discussion_r2655059285

Reply via email to