RFR: 8241248: NullPointerException in sun.security.ssl.HKDF.extract(HKDF.java:93) [v3]

Alexey Bakhtin abakhtin at openjdk.java.net
Sat May 8 20:30:33 UTC 2021


On Sat, 8 May 2021 19:48:39 GMT, Xue-Lei Andrew Fan <xuelei at openjdk.org> wrote:

>> I'd like to keep my code as-is. We still need invalidate() if entry is not valid (see remove() operation).
>
> Did you notice that entry.isValid() implementation has already call invalidate() if the entry is not valid?

I didn't. You are right. Updated code as you suggested. Thank you.

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

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



More information about the security-dev mailing list