On 18/12/2019 16:06, Chris Hegarty wrote:
Not withstanding the various different post-close behaviour of the
methods of DatagramSocket ( throw IOException, silently ignore, return a
default value, return last known value ), I think that it would be best
to clarify the specification with the existing, long standing,
behaviour; "Invoking this method on a closed socket has*effectively* no
effect." - or something like that.
It would be good to clarify that now, as part of this change, since it’s
an obvious question that arises now that UncheckedIOException is being
added.
Agreed.
-- daniel