RFR: JDK-8265362 java/net/Socket/UdpSocket.java fails with "java.net.BindException: Address already in use" (macos-aarch64)
Mark Sheppard
msheppar at openjdk.java.net
Sat May 22 10:56:59 UTC 2021
On Sat, 22 May 2021 06:46:18 GMT, Alan Bateman <alanb at openjdk.org> wrote:
>> Thanks, and if you want to keep it consistent with the existing code then you could rename "Socket newUdpSocket" and "biEx", or just change it to "return new Socket(...)".
>
> BTW: Is one retry enough? There is at least one other replace where we've had to retry to workaround a macOS bug and one retry was enough there too.
I have submitted a significant number of MACH5 job runs with repeat mode over the past week - approx 50 x 50, and observed the retry to have been triggered about 5 times, this gives some level of assurance that test stability will exist. But CI builds will exercise this a lot more.
-------------
PR: https://git.openjdk.java.net/jdk/pull/4103
More information about the net-dev
mailing list