jdk/src/share/classes/javax/security/auth/kerberos/KeyImpl.java
changeset 5457 d2782f1ecc9f
parent 715 f16baef3a20e
child 5506 202f599c92aa
--- a/jdk/src/share/classes/javax/security/auth/kerberos/KeyImpl.java	Tue Apr 27 09:42:51 2010 +0100
+++ b/jdk/src/share/classes/javax/security/auth/kerberos/KeyImpl.java	Thu Apr 29 15:50:40 2010 +0800
@@ -1,5 +1,5 @@
 /*
- * Copyright 2000-2008 Sun Microsystems, Inc.  All Rights Reserved.
+ * 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
@@ -205,7 +205,7 @@
                           + " keyBytes (hex dump)="
                           + (keyBytes == null || keyBytes.length == 0 ?
                              " Empty Key" :
-                             '\n' + hd.encode(keyBytes)
+                             '\n' + hd.encodeBuffer(keyBytes)
                           + '\n');