-
Bug
-
Resolution: Fixed
-
P4
-
9, 14
-
b25
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8239845 | 11.0.8-oracle | Ravi Reddy | P4 | Closed | Won't Fix |
MulticastSocket has two ways to report whether loopback of multicast datagrams is enabled or disabled:
1. Legacy getLoopbackMode(), should return true when loopback is disabled.
2. getOption(IP_MULTICAST_LOOP), should return true when loopback is enabled.
We seem to have a bug with #2 in that it returns true when the loopback is disabled. These methods should always return the inverse of one another.
The setOption/getOption methods are @since 9 so the compatibility impact of fixing this is probably low.
1. Legacy getLoopbackMode(), should return true when loopback is disabled.
2. getOption(IP_MULTICAST_LOOP), should return true when loopback is enabled.
We seem to have a bug with #2 in that it returns true when the loopback is disabled. These methods should always return the inverse of one another.
The setOption/getOption methods are @since 9 so the compatibility impact of fixing this is probably low.
- backported by
-
JDK-8239845 MulticastSocket getOption/setOption inverts the value of IP_MULTICAST_LOOP
-
- Closed
-
- blocks
-
JDK-8230211 Prepare DatagramSocket for alternative DatagramSocketImpl
-
- Resolved
-
- csr for
-
JDK-8234582 MulticastSocket getOption/setOption inverts the value of IP_MULTICAST_LOOP
-
- Closed
-