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

Chris Hegarty chris.hegarty at oracle.com
Wed Apr 1 15:04:30 UTC 2020


> 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/263455b4/attachment.htm>


More information about the net-dev mailing list