This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
[patch] committed, stringconst2 show stacktrace
- From: Andreas Tobler <toa at pop dot agri dot ch>
- To: Java Patches <java-patches at gcc dot gnu dot org>
- Date: Mon, 17 Apr 2006 23:09:51 +0200
- Subject: [patch] committed, stringconst2 show stacktrace
Hello,
I'll commit this patch shortly. It shall help in case of a failure and
print the stack trace instead of silently go through.
Obvious ok'ed by Tom T.
Andreas
2006-04-17 Andreas Tobler <a.tobler@schweiz.ch>
* testsuite/libjava.lang/stringconst2.java: Print a stack trace in case
of failure.
Index: testsuite/libjava.lang/stringconst2.java
===================================================================
--- testsuite/libjava.lang/stringconst2.java (revision 113003)
+++ testsuite/libjava.lang/stringconst2.java (working copy)
@@ -14,8 +14,9 @@
Field f = k.getField ("q");
System.out.println (f.get (null));
}
- catch (Throwable _)
+ catch (Throwable t)
{
+ t.printStackTrace();
}
}
}