changeset 5842:f7731fc8c98a

7179796: GSSExceptionImpl outputs duplicate mech oid Reviewed-by: valeriep
author weijun
date Tue, 24 Jul 2012 09:20:44 +0800
parents 11d5ddc6a6d4
children e0e7cc711bda
files src/share/classes/sun/security/jgss/GSSCredentialImpl.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/sun/security/jgss/GSSCredentialImpl.java	Sun Jul 22 20:32:12 2012 +0100
+++ b/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;
     }