Integrated: 8253119: Remove the legacy PlainSocketImpl and PlainDatagramSocketImpl implementation
Patrick Concannon
pconcannon at openjdk.java.net
Tue Jul 6 13:50:53 UTC 2021
On Wed, 23 Jun 2021 12:06:41 GMT, Patrick Concannon <pconcannon at openjdk.org> wrote:
> Hi,
>
> Could someone please review my changes for the removal of the legacy `PlainSocketImpl` and `PlainDatagramSocketImpl` implementations?
>
> In JDK 13, JEP 353 provided a drop in replacement for the legacy `PlainSocketImpl` implementation. Since JDK 13, the `PlainSocketImpl` implementation was no longer used but included a mitigation mechanism to reduce compatibility risks in the form of a JDK-specific property `jdk.net.usePlainSocketImpl` allowing to switch back to the old implementation.
> Similarly, in JDK 15, JEP 373 provided a new implementation for `DatagramSocket` and `MulticastSocket`, with a JDK-specific property `jdk.net.usePlainDatagramSocketImpl` also allowing the user to switch back to the old implementation in case of compatibility issue.
>
> As these implementations (and the mechanisms they use to enable them to mitigate compatibility issues) have been deemed no longer necessary, they now represent a maintenance burden. This patch looks at removing them from the JDK.
>
> Kind regards,
> Patrick
This pull request has now been integrated.
Changeset: 326b2e13
Author: Patrick Concannon <pconcannon at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/326b2e13447d734f84271942cc8154e30486fa7d
Stats: 11059 lines in 78 files changed: 136 ins; 10853 del; 70 mod
8253119: Remove the legacy PlainSocketImpl and PlainDatagramSocketImpl implementation
Reviewed-by: alanb, dfuchs, chegar
-------------
PR: https://git.openjdk.java.net/jdk/pull/4574
More information about the net-dev
mailing list