RFR: 8282536: java.net.InetAddress should be a sealed class
Daniel Fuchs
dfuchs at openjdk.java.net
Fri Mar 11 17:52:45 UTC 2022
On Fri, 11 Mar 2022 16:47:46 GMT, Aleksei Efimov <aefimov at openjdk.org> wrote:
> The following fix seals the `java.net.InetAddress` class and permits only two implementations - `java.net.Inet4Address` and `java.net.Inet6Address`.
>
> No issues have been detected by regression and JCK tests.
>
> Links: [JBS](https://bugs.openjdk.java.net/browse/JDK-8282536) [CSR](https://bugs.openjdk.java.net/browse/JDK-8282880)
LGTM
-------------
Marked as reviewed by dfuchs (Reviewer).
PR: https://git.openjdk.java.net/jdk/pull/7789
More information about the net-dev
mailing list