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

Daniel Fuchs daniel.fuchs at oracle.com
Wed Apr 1 15:17:24 UTC 2020


Looks good to me Chris!

best regards,

-- daniel

On 01/04/2020 16:04, Chris Hegarty wrote:
> 
>> On 1 Apr 2020, at 15:12, mark sheppard <macanaoire at hotmail.com 
>> <mailto: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.
> 



More information about the net-dev mailing list