8272396: mismatching debug output streams

Reviewed-by: mullan
This commit is contained in:
Xue-Lei Andrew Fan 2021-08-13 21:33:22 +00:00
parent 0af645aa4f
commit 6b8b160e37

View File

@ -236,8 +236,7 @@ final class RSAKeyExchange {
NoSuchAlgorithmException iae) { NoSuchAlgorithmException iae) {
// unlikely to happen, otherwise, must be a provider exception // unlikely to happen, otherwise, must be a provider exception
if (SSLLogger.isOn && SSLLogger.isOn("ssl,handshake")) { if (SSLLogger.isOn && SSLLogger.isOn("ssl,handshake")) {
SSLLogger.fine("RSA premaster secret generation error:"); SSLLogger.fine("RSA premaster secret generation error", iae);
iae.printStackTrace(System.out);
} }
throw new GeneralSecurityException( throw new GeneralSecurityException(