RFR[8250886]: java/net/DatagramSocket/SendReceiveMaxSize.java fails in timeout
Alan Bateman
Alan.Bateman at oracle.com
Thu Aug 6 12:41:17 UTC 2020
On 06/08/2020 13:29, Patrick Concannon wrote:
> Hi,
>
> Could someone please review my fix for JDK-8250886 — ‘java/net/DatagramSocket/SendReceiveMaxSize.java fails in timeout’ ?
>
> The default value of SO_RCVBUF is much larger than the SO_SNDBUF limit so it no longer needs to be set to match it. This mismatch caused the corresponding test 'java/net/DatagramSocket/SendReceiveMaxSize.java` to fail.
> The proposed fix is to leave SO_RCVBUF as configured by default by the kernel.
>
>
> issue: https://bugs.openjdk.java.net/browse/JDK-8250886
> webrev: http://cr.openjdk.java.net/~pconcannon/8250886/webrevs/webrev.00/
>
Looks okay to me, that code should been removed a long time ago.
-Alan
More information about the net-dev
mailing list