RFR 8236405: Enhancement to Kerberos debug output

Weijun Wang weijun.wang at oracle.com
Fri Dec 20 08:44:13 UTC 2019


p.s. If you wonder why it seems there is no change for HostAddress.java, it's just an indentation difference:

diff --git a/src/java.security.jgss/share/classes/sun/security/krb5/internal/HostAddress.java b/src/java.security.jgss/share/classes/sun/security/krb5/internal/HostAddress.java
--- a/src/java.security.jgss/share/classes/sun/security/krb5/internal/HostAddress.java
+++ b/src/java.security.jgss/share/classes/sun/security/krb5/internal/HostAddress.java
@@ -211,7 +211,7 @@
         }
         if (DEBUG) {
             if (addrType == Krb5.ADDRTYPE_INET ||
-                addrType == Krb5.ADDRTYPE_INET6) {
+                    addrType == Krb5.ADDRTYPE_INET6) {
                 System.out.println("Host address is " +
                         InetAddress.getByAddress(address));
             }

Thanks,
Max


> On Dec 20, 2019, at 4:39 PM, Weijun Wang <weijun.wang at oracle.com> wrote:
> 
> Please review the fix at
> 
>   https://cr.openjdk.java.net/~weijun/8236405/webrev.00
> 
> Most are trivial on whitespaces and commas etc. I've changed the "LSA" word to "native ccache" in Credentials.java because the output is for both Windows and macOS.
> 
> Thanks,
> Max
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/security-dev/attachments/20191220/7b426a31/attachment-0001.htm>


More information about the security-dev mailing list