RFR: 8282536: java.net.InetAddress should be a sealed class [v2]

Michael McMahon michaelm at openjdk.java.net
Tue Mar 15 13:16:44 UTC 2022


On Mon, 14 Mar 2022 16:45:24 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)
>
> Aleksei Efimov has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Cleanup unnessecary class loader checks, remove readObjectNoData

Marked as reviewed by michaelm (Reviewer).

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

PR: https://git.openjdk.java.net/jdk/pull/7789


More information about the net-dev mailing list