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:
parent
4f5a5d5cdb
commit
d269d25cd3
2 changed files with 4 additions and 1 deletions
|
@ -1,5 +1,8 @@
|
||||||
2000-01-17 Tom Tromey <tromey@cygnus.com>
|
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: Rebuilt.
|
||||||
* configure.in: Fixed typo in AC_CONFIG_SUBDIRS call.
|
* configure.in: Fixed typo in AC_CONFIG_SUBDIRS call.
|
||||||
|
|
||||||
|
|
|
@ -57,9 +57,9 @@ java::lang::Throwable::fillInStackTrace (void)
|
||||||
// ??? Might this cause a problem if the byte array isn't aligned?
|
// ??? Might this cause a problem if the byte array isn't aligned?
|
||||||
stackTrace = JvNewByteArray (n * sizeof p[0]);
|
stackTrace = JvNewByteArray (n * sizeof p[0]);
|
||||||
memcpy (elements (stackTrace), p+1, (n * sizeof p[0]));
|
memcpy (elements (stackTrace), p+1, (n * sizeof p[0]));
|
||||||
|
#endif
|
||||||
|
|
||||||
return this;
|
return this;
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue