[jdk17u-dev] RFR: 8302017: Allocate BadPaddingException only if it will be thrown
Saint Wesonga
duke at openjdk.org
Tue Oct 17 04:44:29 UTC 2023
On Tue, 10 Oct 2023 21:39:59 GMT, Brian Stafford <bstafford at openjdk.org> wrote:
>> Backport [334b977259930368160db705c1f2feda0b0e8707](https://github.com/openjdk/jdk17u-dev/commit/300ed9156581adb09e8258bc2da21f3bff4ecbde) from https://github.com/openjdk/jdk21u/pull/79
>>
>> Passes tier1 tests - tested on Linux x64.
>
> src/java.base/share/classes/sun/security/rsa/RSASignature.java line 269:
>
>> 267: throw new IOException("Unexpected AlgorithmId parameters");
>> 268: }
>> 269: if (values[1].isConstructed()) {
>
> What is the source of these changes? I'm having trouble finding them in the jdk21u backport or the original change in tip.
This change is from https://github.com/openjdk/jdk21u/commit/14e7d911997d33eba2893991fa0e2f507aa977f8 and should not have been included when resolving the conflicts.
-------------
PR Review Comment: https://git.openjdk.org/jdk17u-dev/pull/1864#discussion_r1361498578
More information about the jdk-updates-dev
mailing list