mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8301463: Code in DatagramSocket still refers to resolved JDK-8237352
Reviewed-by: dfuchs
This commit is contained in:
parent
11194e8b82
commit
52388179e6
1 changed files with 0 additions and 2 deletions
|
@ -1350,7 +1350,6 @@ public class DatagramSocket implements java.io.Closeable {
|
|||
delegate().leaveGroup(mcastaddr, netIf);
|
||||
}
|
||||
|
||||
// Temporary solution until JDK-8237352 is addressed
|
||||
private static final SocketAddress NO_DELEGATE = new SocketAddress() {};
|
||||
|
||||
/**
|
||||
|
@ -1393,7 +1392,6 @@ public class DatagramSocket implements java.io.Closeable {
|
|||
static <T extends DatagramSocket> T createDelegate(SocketAddress bindaddr, Class<T> type)
|
||||
throws SocketException {
|
||||
|
||||
// Temporary solution until JDK-8237352 is addressed
|
||||
if (bindaddr == NO_DELEGATE) return null;
|
||||
|
||||
assert type == DatagramSocket.class || type == MulticastSocket.class;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue