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

Details

    • Verified

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: