On Thu, 24 Sep 2026 17:20:00 GMT, Phil Race <[email protected]> wrote:

>> src/java.desktop/share/classes/java/awt/image/SampleModel.java line 607:
>> 
>>> 605: 
>>> 606:         if (obj == null) {
>>> 607:             throw new NullPointerException("Array must not be null");
>> 
>> Shouldn't it be "object must not be null", there's no array here
>
> Array is correct. Read the javadoc which says " obj must be a primitive array 
> of type TransferType. "

ok

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

PR Review Comment: https://git.openjdk.org/jdk/pull/33042#discussion_r4100442387

Reply via email to