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

Sergey Chernyshev schernyshev at openjdk.org
Mon May 20 09:25:31 UTC 2024


On Sun, 19 May 2024 14:29:49 GMT, Alan Bateman <alanb at openjdk.org> wrote:

> I think you may have mis-read my comment. I think we need to add `@see InetAddress4#ofPosixLiteral(String)` to InetAddress.ofLiteral, not Inet4Address.ofLiteral. The reason is that methods defined by Inet4Address are not very discoverable and there is no reference to ofPosixLiteral in InetAddress's class description or anywhere else.

Thanks @AlanBateman , apologize for mis-reading your comment. I added `@see` to InetAddress.ofLiteral, please see the updated doc.

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

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


More information about the net-dev mailing list