RFR: 8370655: Check EINTR handling InetAddress implementation and NET_ThrowNew
Alan Bateman
alanb at openjdk.org
Wed Dec 10 16:29:16 UTC 2025
On Wed, 10 Dec 2025 16:06:57 GMT, Michael McMahon <michaelm at openjdk.org> wrote:
> As for sendto() it's a lot less likely to block and I doubt it can block indefinitely, but I imagine it can block if socket buffer is full. I don't have a strong preference. If EINTR can be returned maybe it should be handled the same way?
Hard to test but I suspect the packet will be dropped rather than blocking. So my guess is that retry here can be simple and doesn't need to use the timeout.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/28750#discussion_r2607357754
More information about the net-dev
mailing list