diff options
author | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-01-18 06:22:13 +0000 |
---|---|---|
committer | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-01-18 06:22:13 +0000 |
commit | 06a87a8d956beb1859b94cfbc9ff1c2d74ee911f (patch) | |
tree | 42b8e7f7300c5fd1f93db3a2767947bd9622a531 /libjava | |
parent | c7aa351b84b7d1a5329a377e68cc52a9ae94d1c2 (diff) | |
download | gcc-06a87a8d956beb1859b94cfbc9ff1c2d74ee911f.tar.gz |
* java/lang/natThrowable.cc (fillInStackTrace): Return `this' even
when backtrace can't be computed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31483 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava')
-rw-r--r-- | libjava/ChangeLog | 3 | ||||
-rw-r--r-- | libjava/java/lang/natThrowable.cc | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 151269e8da1..5eaf47843cd 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,5 +1,8 @@ 2000-01-17 Tom Tromey <tromey@cygnus.com> + * java/lang/natThrowable.cc (fillInStackTrace): Return `this' even + when backtrace can't be computed. + * configure: Rebuilt. * configure.in: Fixed typo in AC_CONFIG_SUBDIRS call. diff --git a/libjava/java/lang/natThrowable.cc b/libjava/java/lang/natThrowable.cc index 2227e7d35d1..9c1e31d9b61 100644 --- a/libjava/java/lang/natThrowable.cc +++ b/libjava/java/lang/natThrowable.cc @@ -57,9 +57,9 @@ java::lang::Throwable::fillInStackTrace (void) // ??? Might this cause a problem if the byte array isn't aligned? stackTrace = JvNewByteArray (n * sizeof p[0]); memcpy (elements (stackTrace), p+1, (n * sizeof p[0])); +#endif return this; -#endif } void |