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

Alan Bateman Alan.Bateman at oracle.com
Fri Jun 15 11:33:41 UTC 2018



On 15/06/2018 11:53, Péter Gergely Horváth wrote:
> Hi Michael,
>
> I am wondering if the property name could be maybe improved:
>
> 1.) The prefix "jdk" does not seem to match the naming convention that 
> of the existing networking properties [1], where for example prefix 
> "java.net <http://java.net/>" is used for "java.net.preferIPv4Stack"
>
The convention in recent years is to use jdk.* for JDK-specific 
properties. JDK-specific meaning specific to the JDK implementation and 
not specified in the Java SE specification. So I think jdk.net is right 
here.

-Alan.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/net-dev/attachments/20180615/f841c11f/attachment-0001.html>


More information about the net-dev mailing list