mirror of
https://github.com/corda/corda.git
synced 2025-01-23 21:08:48 +00:00
return empty array instead of null from interpret.cpp's getStackTrace
This avoids a crash elsewhere when we try to use the result.
This commit is contained in:
parent
79247a9885
commit
ac49eb8c9a
@ -3203,9 +3203,9 @@ class MyProcessor: public Processor {
|
|||||||
return ::invoke(t, method);
|
return ::invoke(t, method);
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual object getStackTrace(vm::Thread*, vm::Thread*) {
|
virtual object getStackTrace(vm::Thread* t, vm::Thread*) {
|
||||||
// not implemented
|
// not implemented
|
||||||
return 0;
|
return makeObjectArray(t, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual void initialize(BootImage*, uint8_t*, unsigned) {
|
virtual void initialize(BootImage*, uint8_t*, unsigned) {
|
||||||
|
Loading…
Reference in New Issue
Block a user