# HG changeset patch # User weijun # Date 1204987940 -28800 # Node ID b0bdf21d1a53c252a90f41089bc6a9d0e3a62d2b # Parent 2f9e71bc1bac62d20315c80b85635752f1d39c94 6597349: KeyStore.getCertificateChain() may not return the full chain Reviewed-by: mullan diff -r 2f9e71bc1bac -r b0bdf21d1a53 jdk/src/share/classes/java/security/KeyStore.java --- a/jdk/src/share/classes/java/security/KeyStore.java Sat Mar 08 22:51:14 2008 +0800 +++ b/jdk/src/share/classes/java/security/KeyStore.java Sat Mar 08 22:52:20 2008 +0800 @@ -789,7 +789,7 @@ * @param alias the alias name * * @return the certificate chain (ordered with the user's certificate first - * and the root certificate authority last), or null if the given alias + * followed by zero or more certificate authorities), or null if the given alias * does not exist or does not contain a certificate chain * * @exception KeyStoreException if the keystore has not been initialized