OSDN Git Service

* testsuite/libjava.lang/StackTrace2.jar: Rebuilt.
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 6 Sep 2007 18:58:20 +0000 (18:58 +0000)
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 6 Sep 2007 18:58:20 +0000 (18:58 +0000)
* testsuite/libjava.lang/StackTrace2.java (checkLine): Print file
name.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128203 138bc75d-0d04-0410-961f-82ee72b054a4

libjava/ChangeLog
libjava/testsuite/libjava.lang/StackTrace2.jar
libjava/testsuite/libjava.lang/StackTrace2.java

index ab17f01..a9458e9 100644 (file)
@@ -1,3 +1,9 @@
+2007-09-06  Tom Tromey  <tromey@redhat.com>
+
+       * testsuite/libjava.lang/StackTrace2.jar: Rebuilt.
+       * testsuite/libjava.lang/StackTrace2.java (checkLine): Print file
+       name.
+
 2007-09-06  Roman Zippel  <zippel@linux-m68k.org>
 
        * sysdep/m68k/locks.h: New file.
index fc289f1..edb8f0e 100644 (file)
Binary files a/libjava/testsuite/libjava.lang/StackTrace2.jar and b/libjava/testsuite/libjava.lang/StackTrace2.jar differ
index e06db0c..4a69409 100644 (file)
@@ -70,7 +70,8 @@ public class StackTrace2
             && frame.getFileName().equals("StackTrace2.java")))
       System.out.println("OK");
     else
-      System.out.println("FAIL - expected " + expected_line + ", got: " +
-                        frame.getLineNumber());
+      System.out.println("FAIL - expected " + expected_line + ", got: "
+                        + frame.getLineNumber() + ", in file "
+                        + frame.getFileName());
   }
 }