8185855: Debug exception stacks should be clearer

Reviewed-by: mullan, ascarpino
This commit is contained in:
Sean Coffey 2017-12-06 14:33:33 +00:00
parent a923e57c7b
commit 0c7be1d9e7
11 changed files with 15 additions and 24 deletions

View file

@ -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();
}
}

View file

@ -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;