On Thu, 18 Apr 2024 11:35:21 GMT, Daniel Fuchs <dfu...@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. I think we only need to talk about the methods in InetAddress. Though it could be phrased as `ofPosixLiteral` supports decimal, hex and octal. All other parsing is decimal only. ------------- PR Comment: https://git.openjdk.org/jdk/pull/18493#issuecomment-2063872720