On Sun, 2 Nov 2025 14:09:28 GMT, Peyang <[email protected]> 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 <[email protected]>
Committer: Daniel Fuchs <[email protected]>
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

Reply via email to