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

mismatching debug output streams

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • None
    • 18
    • security-libs

    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

              xuelei Xuelei Fan
              xuelei Xuelei Fan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: