fix thinko parsing properties in JNI_CreateJavaVM

This commit is contained in:
Joel Dice 2007-10-25 17:17:38 -06:00
parent 34c5f184ed
commit 74701b0790

View File

@ -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);
}
}