RFR: 8274227: Remove "impl.prefix" jdk system property usage from InetAddress
Daniel Fuchs
dfuchs at openjdk.java.net
Wed Sep 29 18:04:43 UTC 2021
On Wed, 29 Sep 2021 15:41:06 GMT, Aleksei Efimov <aefimov at openjdk.org> wrote:
> The following fix proposes to remove usages of `"impl.prefix"` JDK system property from the `java.net.InetAddress` class.
> This system property is used to locate concrete implementations of the package private "java.net.InetAddressImpl" interface.
>
> The list of changes:
> - `impl.prefix` usages are removed
> - `InetAddressImpl` made sealed interface by only allowing default implementations available in 'java.net' package: `Inet4AddressImpl` and `Inet6AddressImpl`.
>
> tier1-tier3 tests show no failures with this fix.
LGTM too. Good to see this old code go away!
-------------
PR: https://git.openjdk.java.net/jdk/pull/5755
More information about the net-dev
mailing list