mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8236925: (dc) Upgrade DatagramChannel socket adaptor to extend MulticastSocket
Reviewed-by: dfuchs
This commit is contained in:
parent
6ef474a4f4
commit
d4c3278889
7 changed files with 847 additions and 145 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2000, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2000, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -234,9 +234,6 @@ public abstract class DatagramChannel
|
|||
/**
|
||||
* Retrieves a datagram socket associated with this channel.
|
||||
*
|
||||
* <p> The returned object will not declare any public methods that are not
|
||||
* declared in the {@link java.net.DatagramSocket} class. </p>
|
||||
*
|
||||
* @return A datagram socket associated with this channel
|
||||
*/
|
||||
public abstract DatagramSocket socket();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue