On Tue, 25 Nov 2025 03:31:30 GMT, Prasanta Sadhukhan <[email protected]>
wrote:
>> Phil Race has updated the pull request incrementally with one additional
>> commit since the last revision:
>>
>> 6185110
>
> src/java.desktop/share/classes/java/awt/image/MultiPixelPackedSampleModel.java
> line 451:
>
>> 449: * not large enough to hold the pixel data
>> 450: * @see #setDataElements(int, int, Object, DataBuffer)
>> 451: * @throws NullPointerException if {@code data} is null.
>
> what about {@code obj}, guess it will throw NPE too?
No, in fact it won't. See the code.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/27754#discussion_r2561317957