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
|
@ -75,8 +75,8 @@ public class AnchorCertificates {
|
|||
} catch (Exception e) {
|
||||
if (debug != null) {
|
||||
debug.println("Error parsing cacerts");
|
||||
e.printStackTrace();
|
||||
}
|
||||
e.printStackTrace();
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
|
|
@ -386,8 +386,9 @@ public class SignatureFileVerifier {
|
|||
if (e.getMessage() != null) {
|
||||
debug.println(key + ": " + e.getMessage());
|
||||
} else {
|
||||
debug.println(key + ": " + algorithm +
|
||||
" was disabled, no exception msg given.");
|
||||
debug.println("Debug info only. " + key + ": " +
|
||||
algorithm +
|
||||
" was disabled, no exception msg given.");
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue