-/******* replace some external functions *********/
-
-functionptr native_findfunction(utf *cname, utf *mname, utf *desc, bool isstatic)
-{ return NULL; }
+/* replace some non-vmcore functions ******************************************/
+
+functionptr native_findfunction(utf *cname, utf *mname, utf *desc,
+ bool isstatic)
+{
+ /* return something different than NULL, otherwise we get an exception */
+
+ return (functionptr) 1;
+}