On Mon, 18 Apr 2022 23:36:56 GMT, Valerie Peng <valer...@openjdk.org> wrote:
>> This trivial change is to deprecate the DEFAULT static field of >> OAEPParameterSpec class. Wordings are mostly the same as the previous >> PSSParameterSpec deprecation change. Rest are just minor code re-factoring. >> >> The CSR will be filed once review is somewhat finished. >> >> Thanks, >> Valerie > > Valerie Peng has updated the pull request incrementally with one additional > commit since the last revision: > > Removed the private no-arg default constructor and minor javadoc update. Marked as reviewed by mullan (Reviewer). src/java.base/share/classes/javax/crypto/spec/OAEPParameterSpec.java line 99: > 97: * @deprecated This field uses the default values defined in the PKCS > #1 > 98: * standard. Some of these defaults are no longer recommended > due > 99: * to advances in cryptanalysis -- see the Remove "the". src/java.base/share/classes/javax/crypto/spec/OAEPParameterSpec.java line 126: > 124: * {@link #getMGFParameters()} > 125: * @param pSrc the source of the encoding input P > 126: * @exception NullPointerException if {@code mdName}, Change `@exception` to the more accepted `@throws` tag. ------------- PR: https://git.openjdk.java.net/jdk/pull/8191