mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-26 10:10:19 +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