-
Type:
Sub-task
-
Resolution: Delivered
-
Priority:
P4
-
Affects Version/s: 25
-
Component/s: core-libs
The two deprecated `java.net.Socket` constructors that accept the `stream` parameter have been updated to throw an `IllegalArgumentException` if `stream` is `false`. These constructors can no longer be used to create datagram sockets. Instead use `java.net.DatagramSocket` for datagram sockets. These two constructors will be removed in a future release.