8297134: Add a @sealedGraph tag to InetAddress

Reviewed-by: jpai, aefimov
This commit is contained in:
Per Minborg 2022-11-16 16:41:30 +00:00 committed by Aleksei Efimov
parent 3eb6d0e2f8
commit 51f690decb

View File

@ -223,6 +223,7 @@ import static java.net.spi.InetAddressResolver.LookupPolicy.IPV6_FIRST;
* @see java.net.InetAddress#getByName(java.lang.String)
* @see java.net.InetAddress#getLocalHost()
* @since 1.0
* @sealedGraph
*/
public sealed class InetAddress implements Serializable permits Inet4Address, Inet6Address {