Integrated: 8371092: NullPointerException in AltServiceUsageTest.afterClass() test

Peyang duke at openjdk.org
Tue Nov 4 16:11:39 UTC 2025


On Sun, 2 Nov 2025 14:09:28 GMT, Peyang <duke at openjdk.org> wrote:

> - Add `safeClose(DatagramChannel)` to close udpNotResponding safely.
> - Null-check and exception handling unified with `safeStop()`.
> - Ensures test cleanup never fails due to uninitialized or problematic channel.

This pull request has now been integrated.

Changeset: 2f455ed1
Author:    Peyang <peyang at peya.tokyo>
Committer: Daniel Fuchs <dfuchs at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/2f455ed146ff2e56da4532e9430e4c85ca9497ad
Stats:     14 lines in 1 file changed: 13 ins; 0 del; 1 mod

8371092: NullPointerException in AltServiceUsageTest.afterClass() test

Reviewed-by: dfuchs

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

PR: https://git.openjdk.org/jdk/pull/28104


More information about the net-dev mailing list