Hi Alan,
Thanks for the review. On 24/09/2019 16:25, Alan Bateman wrote:
The clarification to DatagramSocket.receive on how it behaves when there is a security manager and not connected may require some adjusting to DatagramChannel's receive spec too. The specification is that a SecurityException is thrown but the implementation behavior is to drop the datagram. Separate issue but we should try to fix that while in the area. I also note that both DatagramSocket and DatagramChannel may have to bind on first usage which may involve a permission check that we should ensure all succeeds.
Regarding the above, I can open this as a separate issue if you like? Kind regards, Patrick