JDK-8282696 : Add constructors taking a cause to InvalidObjectException and InvalidClassException
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.io
  • Affected Version: 19
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2022-03-05
  • 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
The exception classes InvalidObjectException and InvalidClassException have multiple uses were initCause is called right after their construction. This would be better handled by a constructor taking a cause.
Comments
A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/7711 Date: 2022-03-05 02:57:47 +0000
17-10-2024

Changeset: 104e3cb2 Author: Joe Darcy <darcy@openjdk.org> Date: 2022-03-07 14:47:52 +0000 URL: https://git.openjdk.java.net/jdk/commit/104e3cb24b4de5512abf9f5491f9c530b26838d3
07-03-2022

A pull request was submitted for review. URL: https://git.openjdk.java.net/jdk/pull/7711 Date: 2022-03-05 02:57:47 +0000
05-03-2022