This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[4.1] Throwable printing patchlet


Hi,

Bug reporters requested a backport of this issue to the 4.1 branch:

2006-04-11  Mark Wielaard  <mark@klomp.org>

        PR 27081
        * java/lang/StackTraceElement.java (toString): Don't add space
        between type and source indicator.

Seems to work fine for me and makes clicking on source lines in an
eclipse console work.

OK for the 4.1 branch?
Trunk will get it with the next classpath import.

Cheers,

Mark
Index: java/lang/StackTraceElement.java
===================================================================
--- java/lang/StackTraceElement.java	(revision 112853)
+++ java/lang/StackTraceElement.java	(working copy)
@@ -1,5 +1,5 @@
 /* StackTraceElement.java -- One function call or call stack element
-   Copyright (C) 2001, 2002, 2004, 2005  Free Software Foundation, Inc.
+   Copyright (C) 2001, 2002, 2004, 2005, 2006  Free Software Foundation, Inc.
 
 This file is part of GNU Classpath.
 
@@ -191,7 +191,7 @@
       }
     if (methodName != null)
       sb.append(methodName);
-    sb.append(" (");
+    sb.append("(");
     if (fileName != null)
       sb.append(fileName);
     else

Attachment: signature.asc
Description: This is a digitally signed message part


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]