hg: jdk/sandbox: 8233191: MulticastSocket joinGroup/leaveGroup do not specify their behavior when the outgoing interface has not been set

chris.hegarty at oracle.com chris.hegarty at oracle.com
Mon Dec 9 16:00:26 UTC 2019


Changeset: 8df91a722672
Author:    pconcannon
Date:      2019-12-09 15:54 +0000
URL:       https://hg.openjdk.java.net/jdk/sandbox/rev/8df91a722672

8233191: MulticastSocket joinGroup/leaveGroup do not specify their behavior when the outgoing interface has not been set
Summary: Clarifies the behaviour of 2-arg joinGroup/leaveGroup methods when null is passed for the NetworkInteface argument. The fix also clarifies what is returned by getInterface() and getNetworkInterface() methods when no previous NetworkInterface has been set.
Reviewed-by: alanb, chegar, dfuchs

! src/java.base/share/classes/java/net/MulticastSocket.java



More information about the jdk-sandbox-changes mailing list