RFR: 8293842: IPv6-only systems throws UnsupportedOperationException for several socket/TCP options [v2]
Man Cao
manc at openjdk.org
Thu Sep 15 19:05:10 UTC 2022
On Thu, 15 Sep 2022 10:46:08 GMT, Alan Bateman <alanb at openjdk.org> wrote:
>> Man Cao has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Address comments
>
> src/java.base/share/native/libnet/net_util.c line 86:
>
>> 84: * Must be called after IPv6_available is initialized.
>> 85: */
>> 86: REUSEPORT_available = reuseport_supported();
>
> An alternative to relying on initialization order would be to pass a parameter to reuseport_supported to specify whether to test IPv4 or IPv6.
Done.
-------------
PR: https://git.openjdk.org/jdk/pull/10278
More information about the net-dev
mailing list