6597349: KeyStore.getCertificateChain() may not return the full chain
Reviewed-by: mullan
--- 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