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

Formatting issues in Kerberos debug output

    XMLWordPrintable

Details

    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

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

            Dates

              Created:
              Updated:
              Resolved: