-
Type:
Sub-task
-
Resolution: Delivered
-
Priority:
P4
-
Affects Version/s: 15
-
Component/s: core-libs
-
Verified
In this release, the default port number for a datagram packet has been changed to 0. Previously, this value was -1, which was undocumented. The port can be retrieved by using `DatagramPacket::getPort`.
- relates to
-
JDK-8237890 DatagramPacket::getSocketAddress doesn't specify what happens if address or port are not set
-
- Closed
-