RFR: 8267353: java/net/SctpSanity.java fails due to Protocol not supported

Jie Fu jiefu at openjdk.java.net
Wed May 26 04:04:22 UTC 2021

Hi all,

java/net/SctpSanity.java fails on some of our test machines due to Protocol not supported.
The reason is that the test fails to detect all the cases when a machine doesn't support SCTP.

The fix just follows what are done in [1][2][3] to detect unsupported paltforms at the beginning.

Best regards,

[1] https://github.com/openjdk/jdk/blob/master/test/jdk/com/sun/nio/sctp/SctpMultiChannel/Util.java#L59
[2] https://github.com/openjdk/jdk/blob/master/test/jdk/com/sun/nio/sctp/SctpServerChannel/Util.java#L59
[3] https://github.com/openjdk/jdk/blob/master/test/jdk/com/sun/nio/sctp/SctpChannel/Util.java#L59


Commit messages:
 - 8267353: java/net/SctpSanity.java fails due to Protocol not supported

Changes: https://git.openjdk.java.net/jdk/pull/4199/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=4199&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8267353
  Stats: 21 lines in 1 file changed: 19 ins; 0 del; 2 mod
  Patch: https://git.openjdk.java.net/jdk/pull/4199.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/4199/head:pull/4199

PR: https://git.openjdk.java.net/jdk/pull/4199

More information about the net-dev mailing list