natThrowable.cc (fillInStackTrace): Return `this' even when backtrace can't be computed.

* java/lang/natThrowable.cc (fillInStackTrace): Return `this' even
	when backtrace can't be computed.

From-SVN: r31483
This commit is contained in:
Tom Tromey 2000-01-18 06:22:13 +00:00 committed by Tom Tromey
parent 4f5a5d5cdb
commit d269d25cd3
2 changed files with 4 additions and 1 deletions

View File

@ -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.

View File

@ -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