[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:26:29 UTC 2021
On Thu, 17 Jun 2021 11:07:23 GMT, Chris Hegarty <chegar at openjdk.org> wrote:
>> Mark Sheppard has updated the pull request incrementally with one additional commit since the last revision:
>>
>> JDK-8265369 [macos-aarch64] java/net/MulticastSocket/Promiscuous.java failed with "SocketException: Cannot allocate memory"
>> amendments as per suggestion from Chris Hegarty
>
> src/java.base/unix/native/libnet/PlainDatagramSocketImpl.c line 1843:
>
>> 1841: int res;
>> 1842: #endif
>> 1843:
>
> res will need to be declared unconditionally, no? ( since it is used on all platforms )
yes ... good spot ..... as testing has been focused on macos, this error didn't show
-------------
PR: https://git.openjdk.java.net/jdk17/pull/44
More information about the net-dev
mailing list