RFR: 8298420: PEM API: Implementation (Preview) [v14]
Sean Mullan
mullan at openjdk.org
Mon May 12 19:22:05 UTC 2025
On Sat, 10 May 2025 01:19:06 GMT, Anthony Scarpino <ascarpino at openjdk.org> wrote:
>> It was previously called by `calculatePublicKey` - I think those bytes are never exposed externally, so safe to not clone.
>
> I'm assuming there is no more issues here.
There is still a small issue. On line 228, a clone of the array is now being done when it doesn't have to. The previous code called the internal `getArrayS0` method which did not do a clone.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/17543#discussion_r2085303338
More information about the security-dev
mailing list