mirror of
https://github.com/openjdk/jdk.git
synced 2026-01-29 20:48:29 +00: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