Adding SocketChannel toString to connection exception messages

Alan Bateman Alan.Bateman at
Tue Jan 2 16:35:03 UTC 2018

On 29/12/2017 00:33, Steven Schlansker wrote:
> Thanks for the discussion!
> So, it sounds like amending the message by default is going to be a non-starter -- but at least adding the information otherwise might be possible.
There are examples in other area where exceptions include detail 
information (for diagnostics purposes) when not running with a security 
manager. This may be something to look at here (and easy to try out too 
as it wouldn't require touching any native code either).


More information about the core-libs-dev mailing list