On Mon, 2 Mar 2026 12:19:50 GMT, Andrey Turbanov <[email protected]> wrote:

>> Phil Race has updated the pull request incrementally with one additional 
>> commit since the last revision:
>> 
>>   8377568
>
> src/java.desktop/share/classes/java/awt/image/DataBuffer.java line 578:
> 
>> 576: 
>> 577:     static final void checkArraySize(int size, int offset, int 
>> arrayLen) {
>> 578:         if (size <= 0 || (size + offset) > arrayLen  ||
> 
> Suggestion:
> 
>         if (size <= 0 || (size + offset) > arrayLen ||

space removed

> test/jdk/java/awt/image/DataBuffer/DataBufferConstructorTest.java line 717:
> 
>> 715:         // DataBufferFloat(byte[][] dataArray, int size)
>> 716:         testFloatConstructor(nullFloatArrays, 0, 
>> NullPointerException.class);
>> 717:         testFloatConstructor(zeroFloatSubArrays, 0,  
>> IllegalArgumentException.class);
> 
> Suggestion:
> 
>         testFloatConstructor(zeroFloatSubArrays, 0, 
> IllegalArgumentException.class);

space removed

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

PR Review Comment: https://git.openjdk.org/jdk/pull/29766#discussion_r2875105832
PR Review Comment: https://git.openjdk.org/jdk/pull/29766#discussion_r2875106092

Reply via email to