RFR: 8298420: PEM API: Implementation (Preview) [v14]

Anthony Scarpino ascarpino at openjdk.org
Sat May 10 02:15:16 UTC 2025


On Thu, 8 May 2025 13:41:10 GMT, Sean Mullan <mullan at openjdk.org> wrote:

>> I didn't change the rest of them because I didn't want to make too many unnecessary edits.  I understand you like it, but it is not a concise description. 
>> 
>> The one word "cloned" is a lot simpler and means the same as:
>> "The contents of {@code encryptedData} are copied to protect against subsequent modification when constructing this object."
>
> The words "to protect against subsequent modification" are important and if I recall was something we added a long time ago to many of our APIs. I would restore the original text. Also, the other constructor is still using those words.

ok

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

PR Review Comment: https://git.openjdk.org/jdk/pull/17543#discussion_r2082566209


More information about the security-dev mailing list