On Fri, 22 Aug 2025 13:30:19 GMT, SendaoYan <[email protected]> wrote:

> Currently, take test/jdk/com/sun/nio/sctp/SctpMultiChannel/Branch.java as 
> example. When Util.isSCTPSupported() return false, then test print a warning 
> and the exit.
> 
> I think it's better to throw jtreg.SkippedException rather than only print a 
> warning and then report test passed.
> 
> Change has been verified locally, test-fix only, almost no risk.

This pull request has now been integrated.

Changeset: a029245a
Author:    SendaoYan <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/a029245a4e1f04052fa0f0a5af16ae0e770bd822
Stats:     209 lines in 16 files changed: 103 ins; 89 del; 17 mod

8365983: Tests should throw SkippedException when SCTP not supported

Reviewed-by: jpai

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

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

Reply via email to