On Wed, 27 May 2026 18:09:42 GMT, Phil Race <[email protected]> wrote:

>> A fix for a theoretical NPE because a method might return null and it is 
>> used.
>> 
>> ---------
>> - [x] I confirm that I make this contribution in accordance with the 
>> [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai).
>
> Phil Race has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   8385017

src/java.desktop/share/classes/com/sun/media/sound/ModelByteBufferWavetable.java
 line 213:

> 211:         }
> 212:         if (buffer.array() == null) {
> 213:             InputStream is = buffer.getInputStream();

this seems to be the same "buffer.getInputStream" use above?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/31299#discussion_r3321319311

Reply via email to