From 33dd4908455b6d3705776952f8d95aeb93fdf09c Mon Sep 17 00:00:00 2001 From: motse Date: Wed, 14 Jun 2006 18:55:35 +0000 Subject: [PATCH] * src/native/native.c (native_resolve_function): fix/add to my last incomplete commit. --- src/native/native.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/native/native.c b/src/native/native.c index 97391cda6..79693c849 100644 --- a/src/native/native.c +++ b/src/native/native.c @@ -30,7 +30,7 @@ Changes: Christian Thalinger - $Id: native.c 5031 2006-06-14 18:36:22Z motse $ + $Id: native.c 5032 2006-06-14 18:55:35Z motse $ */ @@ -62,6 +62,10 @@ #include "vm/jit/asmpart.h" #include "vm/jit/jit.h" +#if defined(ENABLE_JVMTI) +#include "native/jvmti/cacaodbg.h" +#endif + /* include table of native functions ******************************************/ @@ -792,7 +796,7 @@ functionptr native_resolve_function(methodinfo *m) #if defined(ENABLE_JVMTI) /* fire Native Method Bind event */ - jvmti_NativeMethodBind(m, sym, &sym); + if (jvmti) jvmti_NativeMethodBind(m, sym, &sym); #endif /* no symbol found? throw exception */ -- 2.25.1