mirror of
https://gcc.gnu.org/git/gcc.git
synced 2025-01-26 22:34:27 +08:00
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
@ -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.
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user