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:
committed by
Andreas Tobler
parent
778f6a08fd
commit
c60fe329d5
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user