From 74701b079057ed94136b4b7cec816b1563ef011a Mon Sep 17 00:00:00 2001 From: Joel Dice Date: Thu, 25 Oct 2007 17:17:38 -0600 Subject: [PATCH] fix thinko parsing properties in JNI_CreateJavaVM --- src/jnienv.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jnienv.cpp b/src/jnienv.cpp index 0c1c20530b..082c3f3cab 100644 --- a/src/jnienv.cpp +++ b/src/jnienv.cpp @@ -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); } }