summaryrefslogtreecommitdiff
path: root/libjava/java/lang/Throwable.h
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/java/lang/Throwable.h')
-rw-r--r--libjava/java/lang/Throwable.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/libjava/java/lang/Throwable.h b/libjava/java/lang/Throwable.h
index 097f9d2f2e7..2e7532c3af9 100644
--- a/libjava/java/lang/Throwable.h
+++ b/libjava/java/lang/Throwable.h
@@ -9,6 +9,19 @@
#include <java/lang/Object.h>
#include <gcj/array.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace lang
+ {
+ class CPStringBuilder;
+ }
+ }
+ }
+}
class java::lang::Throwable : public ::java::lang::Object
{
@@ -28,7 +41,7 @@ public:
virtual void printStackTrace(::java::io::PrintWriter *);
private:
::java::lang::String * stackTraceString();
- static void stackTraceStringBuffer(::java::lang::StringBuilder *, ::java::lang::String *, JArray< ::java::lang::StackTraceElement * > *, jint);
+ static void stackTraceStringBuffer(::gnu::java::lang::CPStringBuilder *, ::java::lang::String *, JArray< ::java::lang::StackTraceElement * > *, jint);
public:
virtual ::java::lang::Throwable * fillInStackTrace();
virtual JArray< ::java::lang::StackTraceElement * > * getStackTrace();