-
Sub-task
-
Resolution: Delivered
-
P4
-
11
-
Verified
Prior to JDK 11, invoking `DatagramChannel.send(ByteBuffer,SocketAddress)` on a `DatagramChannel` connected to an address different from the address specified to the method caused an unspecified `IllegalArgumentException` to be thrown. In Java SE 11, the specification has been clarified to specify `java.nio.channels.AlreadyConnectedException` for this case, and the implementation has been changed to throw the correct exception.
- relates to
-
JDK-8199195 (dc) DatagramChannel throws unspecified exceptions
-
- Closed
-