RFR: JDK-8282696: Add constructors take a cause to InvalidObjectException and InvalidClassException [v2]

Joe Darcy darcy at openjdk.java.net
Sat Mar 5 03:24:07 UTC 2022


On Sat, 5 Mar 2022 03:14:33 GMT, Roger Riggs <rriggs at openjdk.org> wrote:

>> Joe Darcy has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Retrofit another location.
>
> src/java.base/share/classes/java/io/InvalidObjectException.java line 63:
> 
>> 61:      */
>> 62:     public  InvalidObjectException(String reason, Throwable cause) {
>> 63:         super(reason);
> 
> Should this be: `super(reason, cause)`?

Yes; good catch -- will fix in the next push. Thanks.

-------------

PR: https://git.openjdk.java.net/jdk/pull/7711


More information about the core-libs-dev mailing list