On Fri, 15 May 2026 21:21:08 GMT, Phil Race <[email protected]> wrote:

>> src/java.desktop/share/classes/java/awt/image/MultiPixelPackedSampleModel.java
>>  line 169:
>> 
>>> 167:         }
>>> 168:         if (scanlineStride <= 0) {
>>> 169:             throw new IllegalArgumentException("scanlineStride must be 
>>> > 0");
>> 
>> This `scanlineStride <= 0` check is not documented in the spec. And it seems 
>> is not triggered by the test.
>
> It looks like an oversight. I will add it.

I also added it to the test.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/30826#discussion_r3251123717

Reply via email to