Integrated: 8377167: javax/imageio/ReadAbortTest.java throw NPE when x11 unavailable
SendaoYan
syan at openjdk.org
Thu Feb 5 11:59:53 UTC 2026
On Wed, 4 Feb 2026 14:02:51 GMT, SendaoYan <syan at openjdk.org> 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.
This pull request has now been integrated.
Changeset: d93bd18d
Author: SendaoYan <syan at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/d93bd18d67555ba998735196576c337249f4932b
Stats: 23 lines in 2 files changed: 13 ins; 7 del; 3 mod
8377167: javax/imageio/ReadAbortTest.java throw NPE when x11 unavailable
Reviewed-by: prr, serb
-------------
PR: https://git.openjdk.org/jdk/pull/29569
More information about the client-libs-dev
mailing list