* java/lang/ExceptionInInitializerError.java (printStackTrace):
Only try to print the subordinate stack trace if "exception" is set.
Print our class name first.
From-SVN: r40404
{
if (exception != null)
{
- System.err.print (this.getClass() + ": ");
+ System.err.print (this.getClass().getName() + ": ");
exception.printStackTrace ();
}
else
{
if (exception != null)
{
- ps.print (this.getClass() + ": ");
+ ps.print (this.getClass().getName() + ": ");
exception.printStackTrace (ps);
}
else
{
if (exception != null)
{
- pw.print (this.getClass() + ": ");
+ pw.print (this.getClass().getName() + ": ");
exception.printStackTrace (pw);
}
else