[jdk8u-dev] RFR: 8238274: (sctp) JDK-7118373 is not fixed for SctpChannel
ktakakuri
duke at openjdk.org
Wed Jan 24 12:18:43 UTC 2024
This is a backport of JDK-8238274: (sctp) JDK-7118373 is not fixed for SctpChannel.
This backport is not clean because the test added in this fix uses an API that is not in JDK8.
It has been replaced by the API that is available in JDK8, but the logic of the test remains unchanged.
Also, the constant LIMIT_LINES used in the test must be 3 due to differences in the behavior of the ServerSocket constructor.
When the constructor of ServerSocket is called, the file descriptor is not created in JDK17, but it is created in JDK8, so the number of lines obtained by lsof is different.
Testing:
jdk/com/sun/nio/sctp
on Linux x86_64
-------------
Commit messages:
- Merge branch 'master' into 8238274
- Backport d91e227abb94953129adc297fbd456c55bb2ae10
Changes: https://git.openjdk.org/jdk8u-dev/pull/427/files
Webrev: https://webrevs.openjdk.org/?repo=jdk8u-dev&pr=427&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8238274
Stats: 217 lines in 4 files changed: 214 ins; 0 del; 3 mod
Patch: https://git.openjdk.org/jdk8u-dev/pull/427.diff
Fetch: git fetch https://git.openjdk.org/jdk8u-dev.git pull/427/head:pull/427
PR: https://git.openjdk.org/jdk8u-dev/pull/427
More information about the jdk8u-dev
mailing list