RFR [15] 8241988 DatagramSocket incorrectly caches the first set of socket options

Mark Sheppard mark.sheppard at oracle.com
Wed Apr 1 15:45:02 UTC 2020


thanks Chris 


:+1 


regards 
Mark 

----- Original Message ----- 
From: chris.hegarty at oracle.com 
To: macanaoire at hotmail.com, mark.sheppard at oracle.com, net-dev at openjdk.java.net 
Sent: Wednesday, 1 April, 2020 4:04:33 PM GMT +00:00 GMT Britain, Ireland, Portugal 
Subject: Re: RFR [15] 8241988 DatagramSocket incorrectly caches the first set of socket options 







On 1 Apr 2020, at 15:12, mark sheppard < macanaoire at hotmail.com > wrote: 


Hi Chris, 
just looking at the supportedOptions method in the two classes 
DatagramSocket and MulticastSocket, if I haven't misread them, are 
they not the same? 
As such MulticastSocket could inherit that method from DatagramSocket ? 
(without the necessity to override) 

Good idea Mark. 


Updated webrev: 
https://cr.openjdk.java.net/~chegar/8241988/webrev.01/ 


-Chris. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/net-dev/attachments/20200401/3befe9b4/attachment.htm>


More information about the net-dev mailing list