On Wed, 4 Feb 2026 14:02:51 GMT, SendaoYan <[email protected]> wrote:

> Hi all,
> 
> Test javax/imageio/ReadAbortTest.java and javax/imageio/WriteAbortTest.java 
> throw java.lang.NullPointerException when x11 display unavailable, because 
> object `path` unable to initial. This PR check the `path` is null or not 
> before use it, this will make test failure report friendly when x11 display 
> unavailable but DISPLAY was seted.
> 
> Change has been verified locally on linux-x64.

I see. An odd case.

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

Marked as reviewed by prr (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/29569#pullrequestreview-3753355754

Reply via email to