mirror of
https://github.com/corda/corda.git
synced 2025-01-22 12:28:11 +00:00
fix generation of UnsatisfiedLinkError message in resolveNativeMethodData
This commit is contained in:
parent
9601f2fb04
commit
823148841a
@ -471,7 +471,10 @@ resolveNativeMethodData(Thread* t, object method)
|
||||
return data;
|
||||
} else {
|
||||
object message = makeString
|
||||
(t, "%s", &byteArrayBody(t, methodCode(t, method), 0));
|
||||
(t, "%s.%s%s",
|
||||
&byteArrayBody(t, className(t, methodClass(t, method)), 0),
|
||||
&byteArrayBody(t, methodName(t, method), 0),
|
||||
&byteArrayBody(t, methodSpec(t, method), 0));
|
||||
t->exception = makeUnsatisfiedLinkError(t, message);
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user