changeset 59227 | 46084917fde7 |
parent 59089 | de56632f796d |
--- a/src/java.base/share/classes/java/nio/channels/DatagramChannel.java Fri Nov 22 17:20:43 2019 +0100 +++ b/src/java.base/share/classes/java/nio/channels/DatagramChannel.java Fri Nov 22 09:00:16 2019 -0800 @@ -403,6 +403,9 @@ * or {@code null} if this channel is in non-blocking mode * and no datagram was immediately available * + * @throws IllegalArgumentException + * If the buffer is read-only + * * @throws ClosedChannelException * If this channel is closed *