[jdk17] RFR: JDK-8265369 [macos-aarch64] java/net/MulticastSocket/Promiscuous.java failed with "SocketException: Cannot allocate memory" [v2]
Mark Sheppard
msheppar at openjdk.java.net
Thu Jun 17 16:32:31 UTC 2021
On Thu, 17 Jun 2021 12:39:17 GMT, Michael McMahon <michaelm at openjdk.org> wrote:
>> src/java.base/unix/native/libnet/PlainDatagramSocketImpl.c line 2112:
>>
>>> 2110: res = setsockopt(fd, IPPROTO_IPV6, (join ? ADD_MEMBERSHIP : DRP_MEMBERSHIP),
>>> 2111: (char *) &mname6, sizeof (mname6));
>>> 2112:
>>
>> Seems to be an extraneous space after sizeof here.
>
> A general question. Is "__APPLE__" the preferred macro name or MACOSX? Not a big deal but MACOSX looks slightly more common. [Seems github has removed the underscores from APPLE]
thanks ... I'll attend to the spacing
I used __APPLE__ as it was already in place for a change to set socket buffer size
-------------
PR: https://git.openjdk.java.net/jdk17/pull/44
More information about the net-dev
mailing list