RFR 8167647: Copy-and-paste bug in javax.security.auth.kerberos.KerberosTicket.toString()

Wang Weijun weijun.wang at oracle.com
Wed Oct 19 01:26:45 UTC 2016


Please take a review on this change:

diff --git 
a/src/java.security.jgss/share/classes/javax/security/auth/kerberos/KerberosTicket.java 
b/src/java.security.jgss/share/classes/javax/security/auth/kerberos/KerberosTicket.java
--- 
a/src/java.security.jgss/share/classes/javax/security/auth/kerberos/KerberosTicket.java
+++ 
b/src/java.security.jgss/share/classes/javax/security/auth/kerberos/KerberosTicket.java
@@ -694,7 +694,7 @@
                  "Proxy Ticket " + flags[PROXY_TICKET_FLAG] + "\n" +
                  "Postdated Ticket " + flags[POSTDATED_TICKET_FLAG] + 
"\n" +
                  "Renewable Ticket " + flags[RENEWABLE_TICKET_FLAG] + 
"\n" +
-                "Initial Ticket " + flags[RENEWABLE_TICKET_FLAG] + "\n" +
+                "Initial Ticket " + flags[INITIAL_TICKET_FLAG] + "\n" +
                  "Auth Time = " + String.valueOf(authTime) + "\n" +
                  "Start Time = " + String.valueOf(startTime) + "\n" +
                  "End Time = " + endTime.toString() + "\n" +

Noreg-trivial.

Thanks
Max



More information about the security-dev mailing list