7179796: GSSExceptionImpl outputs duplicate mech oid
authorweijun
Tue, 24 Jul 2012 09:20:44 +0800
changeset 13364 67ebd60432ce
parent 13363 065e0e3545a3
child 13365 c7415e1be29b
7179796: GSSExceptionImpl outputs duplicate mech oid Reviewed-by: valeriep
jdk/src/share/classes/sun/security/jgss/GSSCredentialImpl.java
--- a/jdk/src/share/classes/sun/security/jgss/GSSCredentialImpl.java	Sun Jul 22 20:32:12 2012 +0100
+++ b/jdk/src/share/classes/sun/security/jgss/GSSCredentialImpl.java	Tue Jul 24 09:20:44 2012 +0800
@@ -576,7 +576,7 @@
         if (element == null)
             throw new GSSExceptionImpl(GSSException.NO_CRED,
                                        "No credential found for: " +
-                                       mechOid + getElementStr(mechOid,
+                                       getElementStr(mechOid,
                                        initiate? INITIATE_ONLY : ACCEPT_ONLY));
         return element;
     }