RFR: 8284933: Improve debug in jdk.crypto.cryptoki

Sean Mullan mullan at openjdk.java.net
Mon Apr 18 14:45:42 UTC 2022


On Sun, 17 Apr 2022 14:45:49 GMT, Xue-Lei Andrew Fan <xuelei at openjdk.org> wrote:

> Hi,
> 
> May I have the simple update reviewed?
> 
> In the jdk.crypto.cryptoki module implementation, some of the debug information could be calculated even if the debug is not enabled, which is not resource friendly.
> 
> Thanks,
> Xuelei

DEBUG is final, so it is not intended to be configurable at runtime. I'm ok with this, but will defer to someone else more familiar with this code for approval.

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

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



More information about the security-dev mailing list