java.net.BindException doesn't include host info even when jdk.includeInExceptions is set to hostInfo

Alan Bateman Alan.Bateman at oracle.com
Thu Jun 11 14:10:49 UTC 2020


On 11/06/2020 14:59, Jaikiran Pai wrote:
> :
> Is this a valid use case to have this part of the JDK code enhanced to
> include the additional host/port information (of course when that
> security property is enabled)?
>
Yes but there there are always security concerns with including too much 
information in exceptions so this is why we would not be included by 
default.

-Alan


More information about the net-dev mailing list