RFR: 8369129: Raster createPackedRaster methods specification clean up [v4]
Phil Race
prr at openjdk.org
Wed Oct 8 00:03:29 UTC 2025
On Tue, 7 Oct 2025 23:20:53 GMT, Sergey Bylokhov <serb at openjdk.org> 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
More information about the client-libs-dev
mailing list