mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8185855: Debug exception stacks should be clearer
Reviewed-by: mullan, ascarpino
This commit is contained in:
parent
a923e57c7b
commit
0c7be1d9e7
11 changed files with 15 additions and 24 deletions
|
@ -124,7 +124,8 @@ public class CertificateExtensions implements CertAttrSet<Extension> {
|
|||
unparseableExtensions.put(ext.getExtensionId().toString(),
|
||||
new UnparseableExtension(ext, e));
|
||||
if (debug != null) {
|
||||
debug.println("Error parsing extension: " + ext);
|
||||
debug.println("Debug info only." +
|
||||
" Error parsing extension: " + ext);
|
||||
e.printStackTrace();
|
||||
HexDumpEncoder h = new HexDumpEncoder();
|
||||
System.err.println(h.encodeBuffer(ext.getExtensionValue()));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue