java.net.Socket should report the attempted address and port

2018-04-22 Thread Péter Gergely Horváth
Hi All, I am wondering if it would be possible to make a minor improvement to the way *java.net.Socket* reports connectivity errors and incorporate the attempted address, port and the timeout used into the exception message. The current implementation emits a generic error message, which is not t

Re: java.net.Socket should report the attempted address and port

2018-04-22 Thread James Roper
This would be especially useful in asynchronous applications - since in those cases the exception rarely maps back to a place in user code that would indicate what is being connected to. As someone who has spent a lot of time supporting developers who use asynchronous libraries and post exceptions

RE: RFR 8202091 : Rename DualStackPlainSocketImpl to PlainSocketImpl [win]

2018-04-22 Thread Langer, Christoph
Hi Ivan, this looks good to me. Next nice step in cleaning up the socket implementation. Best regards Christoph > -Original Message- > From: net-dev [mailto:net-dev-boun...@openjdk.java.net] On Behalf Of > Ivan Gerasimov > Sent: Freitag, 20. April 2018 22:40 > To: net-dev@openjdk.java.ne