RFR: 8354530: AIX: sporadic unexpected errno when calling setsockopt in Net.joinOrDrop [v2]

Thomas Stuefe stuefe at openjdk.org
Wed May 14 13:34:54 UTC 2025


On Wed, 14 May 2025 09:41:33 GMT, Arno Zeller <azeller at openjdk.org> wrote:

>> On AIX we have sporadic EAGAIN errors when calling setsockopt. This is undocumented, but has been seen in tests. 
>> Further test did show that it might not be enough to only try it once again. In our daily test environment we have seen no more unexpected exceptions when we retried 3 times.
>
> Arno Zeller has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Improve comment.

src/java.base/unix/native/libnio/ch/Net.c line 683:

> 681:         }
> 682:     }
> 683: #endif

drive-by comment, would it not make sense to then wait some milliseconds before the next try?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/24996#discussion_r2088960401


More information about the nio-dev mailing list