RFR: 8315767: InetAddress: constructing objects from BSD literal addresses [v7]

Daniel Fuchs dfuchs at openjdk.org
Thu Apr 18 11:37:57 UTC 2024


On Thu, 18 Apr 2024 10:24:30 GMT, Michael McMahon <michaelm at openjdk.org> wrote:

> which lists the methods that parse as decimal only, and the new method which parses using the "loose" syntax.

That might not be practical: the only method that supports non decimal form is the new `ofBSDLiteral`. But any other method only support decimal notation. These include URL/URI, permissions, InetSocketAdderess, InetAddress, Socket/DatagramSocket constructors, etc... Building a comprehensive list would be both unpractical and difficult.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/18493#issuecomment-2063654700


More information about the net-dev mailing list