JDK-8282686 : Add constructors taking a cause to SocketException
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.net
  • Affected Version: 19
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2022-03-04
  • Updated: 2024-10-17
  • Resolved: 2022-03-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 19
19 b13Fixed
Related Reports
CSR :  
Relates :  
Relates :  
Description
Many SocketExceptions are constructed and then have their cause set. This would be easier if SocketException had the customary constructors that let the cause be set directly.
Comments
A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/7705 Date: 2022-03-04 21:17:01 +0000
17-10-2024

Changeset: 1faa5c80 Author: Joe Darcy <darcy@openjdk.org> Date: 2022-03-07 17:52:04 +0000 URL: https://git.openjdk.java.net/jdk/commit/1faa5c8092f8baec3ca08ed059653876ec46db46
07-03-2022

A pull request was submitted for review. URL: https://git.openjdk.java.net/jdk/pull/7705 Date: 2022-03-04 21:17:01 +0000
04-03-2022

New constructors will be exercised by retrofitting existing code to call the new constructors.
04-03-2022