mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-26 18:20:28 +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
Welcome to the JDK! =================== For information about building the JDK, including how to retrieve all of the source code, please see either of these files: * doc/building.html (html version) * doc/building.md (markdown version) See http://openjdk.java.net/ for more information about the OpenJDK Community and the JDK.
Description
Languages
Java
73.9%
C++
14.1%
C
7.9%
Assembly
2.7%
Objective-C
0.4%
Other
0.8%