Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8235139 Deprecate the socket impl factory mechanism
  3. JDK-8261521

Release Note: Deprecate the Socket Implementation Factory Mechanism

XMLWordPrintable

    • Verified

      The following static methods used 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.

            pconcannon Patrick Concannon (Inactive)
            pconcannon Patrick Concannon (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: