[jdk17u-dev] RFR: 8302111: Serialization considerations [v2]

Goetz Lindenmaier goetz at openjdk.org
Fri Feb 21 14:08:03 UTC 2025


On Thu, 20 Feb 2025 15:56:12 GMT, Richard Reingruber <rrich at openjdk.org> wrote:

>> Goetz Lindenmaier has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Remove mentioning of ProviderException
>
> src/java.base/share/classes/com/sun/crypto/provider/DHPublicKey.java line 384:
> 
>> 382:             if (ioe != null) {
>> 383:                 ioe.initCause(e);
>> 384:             }
> 
> The null check is redundant.
> Suggestion:
> 
>             ioe.initCause(e);

Removed.

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

PR Review Comment: https://git.openjdk.org/jdk17u-dev/pull/3278#discussion_r1965528465


More information about the jdk-updates-dev mailing list