ThreadGroup.java (uncaughtException): Print thread name with stack dump.
* java/lang/ThreadGroup.java (uncaughtException): Print thread name with stack dump. From-SVN: r37047
This commit is contained in:
parent
589cb9f16e
commit
ce2ab205ae
2 changed files with 5 additions and 1 deletions
|
@ -500,6 +500,8 @@ public class ThreadGroup
|
|||
parent.uncaughtException (thread, t);
|
||||
else if (! (t instanceof ThreadDeath))
|
||||
{
|
||||
if (thread != null)
|
||||
System.out.print("Exception in thread \"" + thread.getName() + "\" ");
|
||||
t.printStackTrace();
|
||||
had_uncaught_exception = true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue