-
Enhancement
-
Resolution: Fixed
-
P4
-
None
-
b22
java.net.Socket defines two constructors with a stream parameter that can be specified as "false" to create a datagram socket. These 2 constructors were deprecated for removal in Java 23 https://bugs.openjdk.org/browse/JDK-8216984. The plan is to remove these constructors in a future release. Before removing those constructors, in order to allow for applications to more prominently notice this deprecation, these constructors can be respecified to throw an IllegalArgumentException when the stream parameter is passed a value of false.
- csr for
-
JDK-8356225 Respecify java.net.Socket constructors that allow creating UDP sockets to throw IllegalArgumentException
-
- Closed
-
- relates to
-
JDK-8333250 Remove the java.net.Socket constructors that allow creating UDP sockets
-
- Open
-
-
JDK-8216984 Deprecate for removal Socket constructors to create UDP sockets
-
- Resolved
-
- links to
-
Commit(master) openjdk/jdk/52a5583d
-
Review(master) openjdk/jdk/25031