RFR: 8235140: 'Investigate deprecation of the Socket/ServerSocket impl factory mechanism'
Patrick Concannon
pconcannon at openjdk.java.net
Tue Feb 2 12:33:58 UTC 2021
Hi,
Could someone please review my proposed change for JDK-8235140: '`Investigate deprecation of the Socket/ServerSocket impl factory mechanism`' ?
This fix proposes to deprecate (for the eventual removal) the API points for statically configuring a system-wide factory for the `Socket/SocketServer` types in the `java.net package`. Specifically, the following:
Methods:
- `static void ServerSocket.setSocketFactory(SocketImplFactory fac)`
- `static void Socket.setSocketImplFactory(SocketImplFactory fac)`
Types:
- `java.net SocketImplFactory`
This issue is a sub-task to the umbrella issue JDK-8235139: '`Remove the socket impl factory mechanism`'. For more information, see https://bugs.openjdk.java.net/browse/JDK-8235139
Kind regards,
Patrick
-------------
Commit messages:
- 8235140: Removed deprecation of SocketImplFactory Interface
- 8235140: Investigate deprecation of the Socket/ServerSocket impl factory mechanism
Changes: https://git.openjdk.java.net/jdk/pull/2352/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=2352&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8235140
Stats: 47 lines in 3 files changed: 20 ins; 22 del; 5 mod
Patch: https://git.openjdk.java.net/jdk/pull/2352.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/2352/head:pull/2352
PR: https://git.openjdk.java.net/jdk/pull/2352
More information about the net-dev
mailing list