Throwable.java (CPlusPlusDemangler): Pass -s java to c++filt to select java-style output.

* java/lang/Throwable.java (CPlusPlusDemangler):  Pass -s java to
	c++filt to select java-style output.

From-SVN: r40027
This commit is contained in:
Per Bothner 2001-02-23 19:52:49 -08:00 committed by Per Bothner
parent e4087691f4
commit b80b8cfd29
2 changed files with 6 additions and 1 deletions

View 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:

View 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 ();
}