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

Weijun Wang weijun.wang at oracle.com
Fri Dec 20 08:34:07 UTC 2019


That's a good suggestion. I've filed https://bugs.openjdk.java.net/browse/JDK-8236405.

Thanks,
Max

> On Dec 10, 2019, at 1:47 AM, Brian Dyson <brian.dyson at cox.net> wrote:
> 
> 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