diff --git a/src/java.security.jgss/share/classes/sun/security/krb5/internal/KDCRep.java b/src/java.security.jgss/share/classes/sun/security/krb5/internal/KDCRep.java index 3e8d86c5e92..0548a1aa497 100644 --- a/src/java.security.jgss/share/classes/sun/security/krb5/internal/KDCRep.java +++ b/src/java.security.jgss/share/classes/sun/security/krb5/internal/KDCRep.java @@ -136,23 +136,6 @@ protected void init(DerValue encoding, int req_type) "encoding tag is " + encoding.getTag() + " req type is " + req_type); - - System.out.println(">>> KDCRep: Message in bytes is =>"); - byte[] dataBytes = encoding.getDataBytes(); - StringBuilder sb = new StringBuilder(); - for (int i = 0; i < dataBytes.length; i++) { - if ((i % 16) == 0) { - sb.append(String.format("%06X", i)); - } - sb.append(String.format(" %02X", dataBytes[i] & 0xFF)); - if ((i % 16) == 15) { - System.out.println(sb.toString()); - sb.setLength(0); - } - } - if (sb.length() > 0) { - System.out.println(sb.toString()); - } } throw new Asn1Exception(Krb5.ASN1_BAD_ID); }