RFR: 8254935: Deprecate the PSSParameterSpec(int) constructor [v8]

Sean Mullan mullan at openjdk.java.net
Wed Mar 30 14:44:41 UTC 2022


On Tue, 29 Mar 2022 22:47:21 GMT, Valerie Peng <valeriep at openjdk.org> wrote:

>> Can someone help review this update to the PSSParameterSpec class regarding the constructor with int argument and the DEFAULT static field? Just added @Deprecate javadoc tag and caution about their usage as suggested in the bug record.
>> 
>> A CSR will be filed once the wording changes are reviewed.
>> 
>> Thanks,
>> Valerie
>
> Valerie Peng has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Changed the PSSParameterSpec javadoc link to show arguments.

Marked as reviewed by mullan (Reviewer).

src/java.base/share/classes/java/security/spec/PSSParameterSpec.java line 105:

> 103:      *         standard for more details. Thus, it is recommended to create
> 104:      *         a new {@code PSSParameterSpec} with the desired parameter values
> 105:      *         using

s/using/using the/

src/java.base/share/classes/java/security/spec/PSSParameterSpec.java line 174:

> 172:      *         <a href="https://tools.ietf.org/rfc/rfc8017.txt">PKCS#1 v2.2</a>
> 173:      *         standard for more details. Thus, it is recommended to explicitly
> 174:      *         specify all desired parameter values with

s/with/with the/

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

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



More information about the security-dev mailing list