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

Daniel Fuchs dfuchs at openjdk.org
Thu May 23 09:11:33 UTC 2024


> 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

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/19358/files
  - new: https://git.openjdk.org/jdk/pull/19358/files/947ea535..d472fcde

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=19358&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=19358&range=00-01

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/19358.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/19358/head:pull/19358

PR: https://git.openjdk.org/jdk/pull/19358



More information about the security-dev mailing list