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

Formatting issues in Kerberos debug output

    Details

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

      Description

      In KeyTab.java, if DEBUG is true, then System.out is written to.

      In the readServiceKeys method (at about line 303), there is the following code:

      System.out.println("Added key: " + entry.keyType +
          "version: " + entry.keyVersion);

      However, the string "version: " is missing a leading space, so output looks like this:

      Added key: 17version: 1
      Added key: 18version: 1

      Suggest a space is added to improve output readability. Change "version: " to " version: ".

      Source: https://mail.openjdk.java.net/pipermail/security-dev/2019-December/021056.html

        Attachments

          Activity

            People

            • Assignee:
              weijun Weijun Wang
              Reporter:
              weijun Weijun Wang
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: