Throwable.java (CPlusPlusDemangler): Pass -s java to c++filt to select java-style...
authorPer Bothner <per@bothner.com>
Sat, 24 Feb 2001 03:52:49 +0000 (19:52 -0800)
committerPer Bothner <bothner@gcc.gnu.org>
Sat, 24 Feb 2001 03:52:49 +0000 (19:52 -0800)
* java/lang/Throwable.java (CPlusPlusDemangler):  Pass -s java to
c++filt to select java-style output.

From-SVN: r40027

libjava/ChangeLog
libjava/java/lang/Throwable.java

index 64917f3..7a467f5 100644 (file)
@@ -1,3 +1,8 @@
+2001-02-23  Per Bothner  <per@bothner.com>
+
+       * java/lang/Throwable.java (CPlusPlusDemangler):  Pass -s java to
+       c++filt to select java-style output.
+
 2001-02-22  Bryce McKinlay  <bryce@albatross.co.nz>
 
        Fix for PR java/2040:
index 4aa2139..5c330fe 100644 (file)
@@ -57,7 +57,7 @@ class CPlusPlusDemangler extends OutputStream
   CPlusPlusDemangler (PrintWriter writer) throws IOException
   {
     p = writer;
-    proc = Runtime.getRuntime ().exec ("c++filt");
+    proc = Runtime.getRuntime ().exec ("c++filt -s java");
     procOut = proc.getOutputStream ();
     procIn = proc.getInputStream ();
   }