JDK-8240533 : Inconsistent Exceptions are thrown by DatagramSocket and DatagramChannel when sending a DatagramPacket to port 0.
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.net
  • Affected Version: 15
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2020-03-04
  • Updated: 2020-04-15
  • Resolved: 2020-04-07
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 15
15 b18Fixed
Related Reports
Blocks :  
Duplicate :  
Relates :  
Description
With DatagramSocket and MulticastSocket an IOException is thrown when sending to port 0, while a BindException is thrown by DatagramChannel and DatagramSocketAdaptor.
Comments
URL: https://hg.openjdk.java.net/jdk/jdk/rev/7af5ec0eb4f4 User: pconcannon Date: 2020-04-07 15:21:28 +0000
07-04-2020