stringconst2.java: Print a stack trace in case of failure.

2006-04-17  Andreas Tobler  <a.tobler@schweiz.ch>

	* testsuite/libjava.lang/stringconst2.java: Print a stack trace in case
	of failure.

From-SVN: r113011
This commit is contained in:
Andreas Tobler 2006-04-17 23:18:23 +02:00 committed by Andreas Tobler
parent 778f6a08fd
commit c60fe329d5
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2006-04-17 Andreas Tobler <a.tobler@schweiz.ch>
* testsuite/libjava.lang/stringconst2.java: Print a stack trace in case
of failure.
2006-04-13 Tom Tromey <tromey@redhat.com>
PR libgcj/26522:

View File

@ -14,8 +14,9 @@ public class stringconst2
Field f = k.getField ("q");
System.out.println (f.get (null));
}
catch (Throwable _)
catch (Throwable t)
{
t.printStackTrace();
}
}
}