RFR: 8284933: Improve debug in jdk.crypto.cryptoki
Valerie Peng
valeriep at openjdk.java.net
Mon Apr 18 21:57:27 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
With this change, I see no reason to have debug(...) method. May as well just remove it and simply do a "System.out.println(...);"?
-------------
PR: https://git.openjdk.java.net/jdk/pull/8277
More information about the security-dev
mailing list