RFR: 8282536: java.net.InetAddress should be a sealed class
Jaikiran Pai
jpai at openjdk.java.net
Sat Mar 12 08:06:37 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)
Marked as reviewed by jpai (Committer).
-------------
PR: https://git.openjdk.java.net/jdk/pull/7789
More information about the net-dev
mailing list