RFR: 8263404: RsaPrivateKeySpec is always recognized as RSAPrivateCrtKeySpec in RSAKeyFactory.engineGetKeySpec [v6]
Valerie Peng
valeriep at openjdk.java.net
Wed Mar 24 22:39:44 UTC 2021
On Wed, 24 Mar 2021 22:24:45 GMT, Greg Rubin <github.com+829871+SalusaSecondus at openjdk.org> wrote:
>> test/jdk/sun/security/pkcs11/rsa/TestP11KeyFactoryGetRSAKeySpec.java line 91:
>>
>>> 89: if (testingSensitiveKeys) {
>>> 90: // Expected exception so swallow it
>>> 91: ex.printStackTrace();
>>
>> Add a System.out.println() to clarify that this exception stack trace is expected?
>
> Putting it in `System.err.println()` so that it goes to the same output as the stack trace.
Sure, you know what I mean.
-------------
PR: https://git.openjdk.java.net/jdk/pull/2949
More information about the security-dev
mailing list