JDK-8261521 : Release Note: Deprecate the socket impl factory mechanism
  • Type: Sub-task
  • Component: core-libs
  • Sub-Component: java.net
  • Affected Version: 17
  • Priority: P4
  • Status: Resolved
  • Resolution: Delivered
  • Submitted: 2021-02-10
  • Updated: 2021-03-18
  • Resolved: 2021-02-10
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 17
17Resolved
Related Reports
Relates :  
Description
The following static methods to set the system-wide socket implementation factories have been deprecated:

 - `static void ServerSocket.setSocketFactory���(SocketImplFactory fac)`
 - `static void Socket.setSocketImplFactory���(SocketImplFactory fac)`
 - `static void DatagramSocket.setDatagramSocketImplFactory���(DatagramSocketImplFactory fac)`

These API points were used to statically configure a system-wide factory for the corresponding socket types in the `java.net` package. These methods have mostly been obsolete since Java 1.4.

Comments
A preview of the release note can be viewed here: https://monaco.us.oracle.com/note/?key=JDK-8261521
10-02-2021