5034718: better messages for e.g. BindException
Alan Bateman
Alan.Bateman at oracle.com
Sun Oct 11 19:37:04 UTC 2015
On 11/10/2015 16:16, Arnout Engelen wrote:
> 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!
>
Improving exception messages to make it easy to diagnose issues is a
good area to contribute. One thing to keep in mind is security and being
careful to not disclosing details such as local addresses when running
with a security manager.
As regards contributing then the How to contribute page [1] is important
to read if you haven't contributed before. Also for networking patches
then the net-dev mailing list would be one of the mailing lists to join.
-Alan
[1] http://openjdk.java.net/contribute/
More information about the jdk9-dev
mailing list