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:
parent
778f6a08fd
commit
c60fe329d5
2 changed files with 7 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue