[jdk11u-dev] RFR: 8238274: (sctp) JDK-7118373 is not fixed for SctpChannel

null duke at openjdk.org
Wed Nov 1 06:34:39 UTC 2023


This is a backport of JDK-8238274: (sctp) JDK-7118373 is not fixed for SctpChannel.

This backport is not clean because the behavior of the ServerSocket constructor used in the test added by this fix is different in JDK17 and JDK11.
When the constructor of ServerSocket is called, a file descriptor is not created in JDK17, but is created in JDK11.
So the number of lines obtained by lsof changes.
I need to change LIMIT_LINES from 2 to 3.

Testing:
jdk/com/sun/nio/sctp
on Linux x86_64

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

Commit messages:
 - backport 8238274
 - backport 8238274

Changes: https://git.openjdk.org/jdk11u-dev/pull/2249/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=2249&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8238274
  Stats: 211 lines in 4 files changed: 208 ins; 0 del; 3 mod
  Patch: https://git.openjdk.org/jdk11u-dev/pull/2249.diff
  Fetch: git fetch https://git.openjdk.org/jdk11u-dev.git pull/2249/head:pull/2249

PR: https://git.openjdk.org/jdk11u-dev/pull/2249


More information about the jdk-updates-dev mailing list