RFR 8022126: Remove throws SocketException from DatagramPacket constructors accepting SocketAddress
mhall at mhcomputing.net
Tue Aug 6 19:25:20 UTC 2013
On Tue, Aug 06, 2013 at 06:18:39PM +0100, Michael McMahon wrote:
> Documenting in release notes is okay too, but I suspect developers are not
> likely to look there at first anyway. Thinking aloud, it would be nice if
> some kind of annotation could be associated with the affected constructors
> such that a more meaningful/customized error message could be emitted by
> javac. But, perhaps there aren't sufficient other use cases to justify that.
Many of us use Eclipse, NetBeans, and JavaDoc.
So if we just had a comment in the JavaDoc, saying this was fixed, and what to
do, that ought to be more than adequate, and would prevent missing it if you
didn't see the relnotes.
More information about the core-libs-dev