mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
![]() This fix changes the default port of a DatagramPacket from -1 to 0, which changes the behaviour of calling getSocketAddress with no port set from throwing an IAE to returning an InetSocketAddress representing any local address with port 0. Reviewed-by: alanb, chegar, dfuchs |
||
---|---|---|
.. | ||
io | ||
lang | ||
math | ||
net | ||
nio | ||
security | ||
text | ||
time | ||
util |