8218559: Reimplement the Legacy Socket API

Alan Bateman Alan.Bateman at oracle.com
Tue May 7 16:14:22 UTC 2019


On 07/05/2019 16:44, Michael McMahon wrote:
> Hi Alan,
>
> What's the purpose of the change to the UdpTest?
The deprecated Socket constructors can be used to create a Socket that 
uses UDP. This means the new SocketImpl has to support the creation of 
UDP sockets and use the ResourceManager to enforce limits when running 
with a  security manager.  So it's just increasing test coverage as I 
wasn't able to find any tests in test/jdk that exercise it.

-Alan


More information about the net-dev mailing list