From 3001384d9b46932148239cf35232a1f72ce5be84 Mon Sep 17 00:00:00 2001 From: Ian Date: Sat, 28 Feb 2009 00:14:34 +0000 Subject: [PATCH] Invert test sense --- tools/bootImageRunner/jvm.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/bootImageRunner/jvm.C b/tools/bootImageRunner/jvm.C index 7450c688a..fbe17ea1f 100644 --- a/tools/bootImageRunner/jvm.C +++ b/tools/bootImageRunner/jvm.C @@ -124,7 +124,7 @@ GetEnv(JavaVM UNUSED *vm, void **penv, jint version) // Return NULL if we are not on a VM thread void *vmThread = getVMThread(); - if (vmThread != NULL) { + if (vmThread == NULL) { *penv = NULL; return JNI_EDETACHED; }