RFR[8243488]: 'Add tests for set/get SendBufferSize and getReceiveBufferSize in DatagramSocket'
Alan Bateman
Alan.Bateman at oracle.com
Fri Apr 24 08:59:45 UTC 2020
On 23/04/2020 16:46, Patrick Concannon wrote:
> Hi,
>
> Could someone please review my fix for JDK-8243488 'Add tests for
> set/get SendBufferSize and getReceiveBufferSize in DatagramSocket'?
>
> This fix adds tests for the methods: setSendBufferSize(int),
> getSendBufferSize(), and getReceieveBufferSize() in the DatagramSocket
> class, and is geared towards increasing the overall test coverage for
> this class.
>
> bug: https://bugs.openjdk.java.net/browse/JDK-8243488
> webrev: http://cr.openjdk.java.net/~pconcannon/8243488/webrevs/webrev.00/
Another potential test for SetGetSendBufferSize is a
testInitialSendBufferSize to check that the initial value of SO_SNDBUF
is >= 65507 when Platform.isOSX() is true. That test could be refined
further when JDK-8242885 is fixed.
-Alan.
More information about the net-dev
mailing list