mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 22:34:27 +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
|
@ -90,8 +90,8 @@ class IdentityScope extends Identity {
|
|||
try {
|
||||
Class.forName(classname);
|
||||
} catch (ClassNotFoundException e) {
|
||||
//Security.error("unable to establish a system scope from " +
|
||||
// classname);
|
||||
System.err.println("unable to establish a system scope from " +
|
||||
classname);
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1074,7 +1074,7 @@ public abstract class Signature extends SignatureSpi {
|
|||
debug.println("Further warnings of this type will "
|
||||
+ "be suppressed");
|
||||
}
|
||||
new Exception("Call trace").printStackTrace();
|
||||
new Exception("Debug call trace").printStackTrace();
|
||||
}
|
||||
}
|
||||
Exception lastException = null;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue