Missing space in /jdk13/src/java.security.jgss/share/classes/sun/security/krb5/internal/ktab/KeyTab.java DEBUG output

Brian Dyson brian.dyson at cox.net
Mon Dec 9 17:47:55 UTC 2019


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: ".

Thank you,
Brian Dyson



More information about the security-dev mailing list