Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8272396

mismatching debug output streams

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 18
    • Component/s: security-libs
    • Labels:

      Description

      In the RSAKeyExchange.java code, both System.out and System.err are used for the same debug log message.

                      // unlikely to happen, otherwise, must be a provider exception
                      if (SSLLogger.isOn && SSLLogger.isOn("ssl,handshake")) {
      - SSLLogger.fine("RSA premaster secret generation error:");
      - iae.printStackTrace(System.out);
      + SSLLogger.fine("RSA premaster secret generation error", iae);
                      }

      For consistency, the SSLLogger method should be used for debugging information dumping.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              xuelei Xue-Lei Fan
              Reporter:
              xuelei Xue-Lei Fan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: