Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8216991

Deprecate and/or re-examine Socket.setSocketImplFactory/ServerSocket.setSocketFactory

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: core-libs
    • Labels:

      Description

      Socket.setSocketImplFactory and ServerSocket.setSocketFactory set the system-wide system factories for client and server sockets. These methods need to be re-examined, minimally to warn that setting one factory and not the other, or using the methods to set different factories, cannot be guaranteed to be reliable when connections are accepted with ServerSocket.accept.

        Attachments

          Activity

            People

            Assignee:
            michaelm Michael McMahon
            Reporter:
            alanb Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: