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

Investigate deprecation of the DatagramSocket impl factory mechanism

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Delivered
    • Icon: P4 P4
    • None
    • 17
    • core-libs
    • None

      DatagramSocket.setDatagramSocketImplFactory can be trivially deprecated once a solution is found for JDK-8237352.
      The DatagramSocketImplFactory type could also be deprecated at the same time, or simply left alone.

      Input from Alan:

      The deprecation text for DatagramSocket.setDatagramSocketImplFactory should probably say that it provided a way in early JDK release to replace the system wide implementation. It has been mostly obsolete since Java 1.4. A DatagramSocket can created to use a custom implementation by extending DatagramSocket and using the protected constructor that takes the impl as a parameter.

            pconcannon Patrick Concannon (Inactive)
            dfuchs Daniel Fuchs
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: