RFR[8235783]: DatagramSocket::disconnect should allow an implementation to throw UncheckedIOException
Alan Bateman
Alan.Bateman at oracle.com
Sat Jan 11 09:12:36 UTC 2020
On 10/01/2020 16:29, Patrick Concannon wrote:
> Hi Chris,
>
> Well spotted.
>
> I've made those changes and updated the webrev.
>
> http://cr.openjdk.java.net/~pconcannon/8235783/webrevs/webrev.02/
"channel's socket" -> "socket". Well spotted!
Something for another (and not important) issue is that
DatagramSocket.close is similar to connect/disconnect in that it doesn't
specify any exceptions. The socket adaptor throws an Error for this case
this.
-Alan
More information about the nio-dev
mailing list