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

Remove the java.net.Socket constructors that allow creating UDP sockets

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • 25
    • None
    • core-libs
    • None

      There are 2 java.net.Socket constructors which take a boolean "stream", which when "false", allows creating UDP sockets. These 2 constructors have been deprecated for removal in Java 23 through https://bugs.openjdk.org/browse/JDK-8216984.

      In a future release, we should remove these constructors. No work should be done on this issue until at least it's time for Java 25.

            jpai Jaikiran Pai
            jpai Jaikiran Pai
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: