On Tue, 7 Oct 2025 23:20:53 GMT, Sergey Bylokhov <[email protected]> wrote:
>> Phil Race has updated the pull request incrementally with one additional
>> commit since the last revision:
>>
>> 8369129
>
> src/java.desktop/share/classes/java/awt/image/Raster.java line 271:
>
>> 269: * @throws IllegalArgumentException if {@code pixelStride} is less
>> than 0
>> 270: * @throws IllegalArgumentException if {@code w * pixelStride} is
>> greater
>> 271: * than {@code scanlineStride}
>
> Is it still a valid point even for a single-line image, where scanlineStride
> would not be used?
Yes.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/27627#discussion_r2412196875