JDK-8275327 : Release Note: Removal of Support for Pre JDK 1.4 DatagramSocketImpl Implementations
  • Type: Sub-task
  • Component: core-libs
  • Sub-Component: java.net
  • Affected Version: 18
  • Priority: P4
  • Status: Resolved
  • Resolution: Delivered
  • Submitted: 2021-10-15
  • Updated: 2022-02-08
  • Resolved: 2021-12-08
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 18
18Resolved
Description
Support for pre JDK 1.4 `DatagramSocketImpl` implementations (DatagramSocketImpl implementations that don't support connected datagram sockets, peeking, or joining multicast groups on specific network interface) has been dropped in this release. Old implementations have not have been buildable since JDK 1.4 but implementations compiled with JDK 1.3 or older continued to be usable up to this release.

Trying to call `connect` or `disconnect` on a `DatagramSocket` or `MulticastSocket` that uses an old implementation will now throw `SocketException` or `UncheckedIOException`. Trying to call `joinGroup` or `leaveGroup` will result in an `AbstractMethodError`.