On Thu, 9 May 2024 20:20:00 GMT, Weijun Wang <wei...@openjdk.org> wrote:

>> src/java.base/share/classes/com/sun/crypto/provider/HkdfKeyDerivation.java 
>> line 53:
>> 
>>> 51:  * and Expand-only variants.
>>> 52:  */
>>> 53: abstract class HkdfKeyDerivation extends KDFSpi {
>> 
>> How about just name it `HKDF`?
>
> Make this class `sealed`.

Avoiding the use of newer language features like `sealed` to aid in backporting.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/18924#discussion_r1596848547

Reply via email to