Relates :
|
A side-effect of JDK-8236925 is that creating a DatagramSocket with a custom DatagramSocketImpl will not invoke the imp's create method to create the socket. DatagramSocketImpl is very under-specified in this area but long standing behavior has been to create the socket lazily. The protected constructor can't throw SocketException and an unchecked exception would be unexpected.
|