jdk/src/share/classes/sun/security/krb5/EncryptionKey.java
changeset 5457 d2782f1ecc9f
parent 4532 f39917c8cf46
child 5506 202f599c92aa
--- a/jdk/src/share/classes/sun/security/krb5/EncryptionKey.java	Tue Apr 27 09:42:51 2010 +0100
+++ b/jdk/src/share/classes/sun/security/krb5/EncryptionKey.java	Thu Apr 29 15:50:40 2010 +0800
@@ -1,5 +1,5 @@
 /*
- * Portions Copyright 2000-2009 Sun Microsystems, Inc.  All Rights Reserved.
+ * Portions Copyright 2000-2010 Sun Microsystems, Inc.  All Rights Reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -499,8 +499,9 @@
                           + " kvno=" + kvno
                           + " keyValue (hex dump)="
                           + (keyValue == null || keyValue.length == 0 ?
-                        " Empty Key" : '\n' + Krb5.hexDumper.encode(keyValue)
-                             + '\n'));
+                        " Empty Key" : '\n'
+                        + Krb5.hexDumper.encodeBuffer(keyValue)
+                        + '\n'));
     }
 
     /**