5034718: better messages for e.g. BindException

Arnout Engelen arnouten at bzzt.net
Sun Oct 11 15:16:46 UTC 2015


Hi,

Many networking exception messages just channel the low-level errno (e.g.
'Address already in use'). It would be really nice if some more context was
provided - such as, *which* address was already in use.

Attached is a rough sketch of how we could include more detailed
information in the messages for those failures. I'd love any feedback
before I dig deeper!


Kind regards,

Arnout
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 5034718-sketch.patch
Type: text/x-patch
Size: 6790 bytes
Desc: not available
URL: <http://mail.openjdk.java.net/pipermail/jdk9-dev/attachments/20151011/bdbc4b2c/5034718-sketch.patch>


More information about the jdk9-dev mailing list