mirror of
https://github.com/corda/corda.git
synced 2025-01-22 12:28:11 +00:00
Fix stacktrace when building with MSVC
This commit is contained in:
parent
1f1c3c4c41
commit
c2b53497ab
@ -278,7 +278,7 @@ makeStackTraceElement(Thread* t, object e)
|
|||||||
THREAD_RUNTIME_ARRAY(t, char, s, byteArrayLength(t, class_));
|
THREAD_RUNTIME_ARRAY(t, char, s, byteArrayLength(t, class_));
|
||||||
replace('/', '.', RUNTIME_ARRAY_BODY(s),
|
replace('/', '.', RUNTIME_ARRAY_BODY(s),
|
||||||
reinterpret_cast<char*>(&byteArrayBody(t, class_, 0)));
|
reinterpret_cast<char*>(&byteArrayBody(t, class_, 0)));
|
||||||
class_ = makeString(t, "%s", s);
|
class_ = makeString(t, "%s", RUNTIME_ARRAY_BODY(s));
|
||||||
|
|
||||||
object method = methodName(t, traceElementMethod(t, e));
|
object method = methodName(t, traceElementMethod(t, e));
|
||||||
PROTECT(t, method);
|
PROTECT(t, method);
|
||||||
|
Loading…
Reference in New Issue
Block a user