hg: jdk/jdk: 8238231: Custom DatagramSocketImpl's create method not called when with protected constructor

daniel.fuchs at oracle.com daniel.fuchs at oracle.com
Tue Feb 4 18:37:12 UTC 2020


Changeset: 78e0dd9ac15f
Author:    dfuchs
Date:      2020-02-04 18:35 +0000
URL:       https://hg.openjdk.java.net/jdk/jdk/rev/78e0dd9ac15f

8238231: Custom DatagramSocketImpl's create method not called when with protected constructor
Summary: Allow the socket to be lazily created if not created by the constructor.
Reviewed-by: alanb

! src/java.base/share/classes/java/net/DatagramSocket.java
! test/jdk/java/net/DatagramSocket/SetReceiveBufferSize.java
+ test/jdk/java/net/DatagramSocketImpl/TestCreate.java



More information about the jdk-all-changes mailing list