7179796: GSSExceptionImpl outputs duplicate mech oid

Reviewed-by: valeriep
This commit is contained in:
Weijun Wang 2012-07-24 09:20:44 +08:00
parent dad0499822
commit 3caaf6a13d

View File

@ -576,7 +576,7 @@ public class GSSCredentialImpl implements GSSCredential {
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;
}