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.
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.
- relates to
-
JDK-8216984 Deprecate for removal Socket constructors to create UDP sockets
-
- Resolved
-