On Wed, 11 Mar 2026 13:50:54 GMT, Alan Bateman <[email protected]> wrote:

>> SCTP protocol is supported only on Linux platforms. Test should not be 
>> executed on other platforms.
>
> @mahendrachhipa Can you confirm that the tests are quietly passing on macOS 
> and Windows already? I just want to make sure that isSCTPSupported is doing 
> the right thing. No objection to adding the `@requires` of course, this will 
> just avoid attempting to run when there is nothing to test.

Hi @AlanBateman , @jaikiran , @msheppar , @sendaoYan 
The existing OpenJDK SCTP APIs (com.sun.nio.sctp / jdk.sctp module) are 
designed to use the operating system’s native (kernel) SCTP stack, not a 
user-space SCTP implementation like usrsctp. These tests are not applicable for 
user-space SCTP implementation. To use user-space SCTP implementation need JNI 
wrapper to use the low level apis means effectively build your own Java SCTP 
API (or a thin wrapper) rather than using com.sun.nio.sctp. These tests should 
be executed in Linux platforms only as no other existing platforms (Windows, 
MacOS) support kernel SCTP stack.

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

PR Comment: https://git.openjdk.org/jdk/pull/30186#issuecomment-4054337779

Reply via email to