8237896: MulticastSocket should link to DatagramChannel as an alternative for multicasting.
Alan Bateman
Alan.Bateman at oracle.com
Wed Jan 29 08:20:28 UTC 2020
On 28/01/2020 11:22, Daniel Fuchs wrote:
>
> I'm not sure I understand why obtaining a MulticastChannel from
> a DatagramSocket is important. Maybe the wording needs to be
> clarified?
If someone has a MulticastSocket then they can't get to a
DatagramChannel to use the alternative join method that is recommended
to them. If we do JDK-8237191 [1], then I think there will be a more
complete migration story for the API note. For now, the API note that
you have for the class description is okay but I think we should leave
out the proposed note for the method description (a @see is okay of course).
-Alan
[1] https://bugs.openjdk.java.net/browse/JDK-8237191
More information about the net-dev
mailing list