[jdk8u-dev] RFR: 8238274: (sctp) JDK-7118373 is not fixed for SctpChannel [v2]
Kazuhisa Takakuri
ktakakuri at openjdk.org
Mon Jun 17 09:04:31 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
Kazuhisa Takakuri has updated the pull request incrementally with one additional commit since the last revision:
Use Utils.listOf
-------------
Changes:
- all: https://git.openjdk.org/jdk8u-dev/pull/427/files
- new: https://git.openjdk.org/jdk8u-dev/pull/427/files/533fc5ee..476e09d5
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk8u-dev&pr=427&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk8u-dev&pr=427&range=00-01
Stats: 6 lines in 1 file changed: 3 ins; 2 del; 1 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