[11u] RFR (S): 8239355: (dc) Initial value of SO_SNDBUF should allow sending large datagrams (macOS)
Baesken, Matthias
matthias.baesken at sap.com
Thu Jan 14 12:30:33 UTC 2021
Hello, thanks for backporting, looks okay to me .
Maybe in the long run it would be better to backport the whole
8220673: Add test library support for determining platform IP support
But that’s out of scope here .
Best regards, Matthias
Hi,
please review the backport of JDK-8239355: (dc) Initial value of SO_SNDBUF should allow sending large datagrams (macOS).
The reason for this backport is fixing a bug on MacOS that manifests with test java/nio/channels/DatagramChannel/MulticastSendReceiveTests.java – which was introduced with backport of JDK-8243488: Add tests for set/get SendBufferSize and getReceiveBufferSize in DatagramSocket [0].
Bug: https://bugs.openjdk.java.net/browse/JDK-8239355
Original Change: https://hg.openjdk.java.net/jdk/jdk/rev/be3aeb6e766d
Webrev: http://cr.openjdk.java.net/~clanger/webrevs/8239355.11u.0/
The modifications to test/jdk/java/net/IPSupport/MinimumPermissions.policy did not apply since the file does not exist in 11u. For test/lib/jdk/test/lib/net/IPSupport.java I took over the whole file from current head, including changes of JDK-8220673 [1] and JDK-8223652[2].
Thanks
Christoph
[0] https://bugs.openjdk.java.net/browse/JDK-8243488
[1] https://bugs.openjdk.java.net/browse/JDK-8220673
[2] https://bugs.openjdk.java.net/browse/JDK-8223652
More information about the jdk-updates-dev
mailing list