RFR: 8241550: [macOS] SSLSocketImpl/ReuseAddr.java failed due to "BindException: Address already in use" [v2]

Jaikiran Pai jpai at openjdk.org
Thu May 23 09:25:05 UTC 2024


On Thu, 23 May 2024 09:11:33 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:

>> This is one of these tests that is not really fixable if any other process that might open a socket runs concurrently with it on the same machine: nothing can guarantee that if you open a socket, close it, then open a new socket on the same port, that port will still be free. It might work most of the time, but success can’t be guaranteed.
>> 
>> The only thing we can do in order to attempt to minimize noisy intermittent failures is retry the whole test if a BindException is thrown.
>
> Daniel Fuchs has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Update Copyright years

The change looks reasonable to me, given what the test does.

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

Marked as reviewed by jpai (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/19358#pullrequestreview-2073394462



More information about the security-dev mailing list