[jdk8u-dev] RFR: 8238274: (sctp) JDK-7118373 is not fixed for SctpChannel [v2]
duke
duke at openjdk.org
Thu Jun 27 17:26:51 UTC 2024
On Mon, 17 Jun 2024 09:04:31 GMT, Kazuhisa Takakuri <ktakakuri at openjdk.org> wrote:
>> 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
@ktakakuri
Your change (at version 476e09d584d57fbc491ceec999e900627695238f) is now ready to be sponsored by a Committer.
-------------
PR Comment: https://git.openjdk.org/jdk8u-dev/pull/427#issuecomment-2190254229
More information about the jdk8u-dev
mailing list