mirror of
https://github.com/corda/corda.git
synced 2025-01-06 05:04:20 +00:00
fix thinko parsing properties in JNI_CreateJavaVM
This commit is contained in:
parent
34c5f184ed
commit
74701b0790
@ -1864,7 +1864,7 @@ JNI_CreateJavaVM(Machine** m, Thread** t, void* args)
|
||||
|
||||
if (a->properties) {
|
||||
for (const char** p = a->properties; *p; ++p) {
|
||||
if (strncmp(*p, BUILTINS_PROPERTY, sizeof(BUILTINS_PROPERTY)) == 0) {
|
||||
if (strncmp(*p, BUILTINS_PROPERTY "=", sizeof(BUILTINS_PROPERTY)) == 0) {
|
||||
(*m)->builtins = (*p) + sizeof(BUILTINS_PROPERTY);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user