Signed-off-by: Tomek Grabiec <[email protected]>
---
vm/jni-interface.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/vm/jni-interface.c b/vm/jni-interface.c
index c5aa38c..c955dfb 100644
--- a/vm/jni-interface.c
+++ b/vm/jni-interface.c
@@ -41,14 +41,14 @@
#include "vm/stack-trace.h"
#define check_null(x) \
- if (x == NULL) { \
+ if ((x) == NULL) { \
signal_new_exception(vm_java_lang_NullPointerException, \
NULL); \
return NULL; \
}
#define check_class_object(x) \
- if (!vm_object_is_instance_of(clazz, vm_java_lang_Class)) \
+ if (!vm_object_is_instance_of((x), vm_java_lang_Class)) \
return NULL;
static jclass vm_jni_find_class(struct vm_jni_env *env, const char *name)
--
1.6.0.6
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at: http://p.sf.net/sfu/blackberry
_______________________________________________
Jatovm-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jatovm-devel