Signed-off-by: Tomek Grabiec <[email protected]>
---
vm/jato.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/vm/jato.c b/vm/jato.c
index ff94fba..453376d 100644
--- a/vm/jato.c
+++ b/vm/jato.c
@@ -217,6 +217,10 @@ static void native_vmruntime_exit(int status)
exit(status);
}
+static void native_vmruntime_run_finalization_for_exit(void)
+{
+}
+
static struct vm_object *
native_vmruntime_maplibraryname(struct vm_object *name)
{
@@ -546,6 +550,7 @@ static struct vm_native natives[] = {
DEFINE_NATIVE("java/lang/VMRuntime", "exit", &native_vmruntime_exit),
DEFINE_NATIVE("java/lang/VMRuntime", "mapLibraryName",
&native_vmruntime_maplibraryname),
DEFINE_NATIVE("java/lang/VMRuntime", "nativeLoad",
&native_vmruntime_native_load),
+ DEFINE_NATIVE("java/lang/VMRuntime", "runFinalizationForExit",
&native_vmruntime_run_finalization_for_exit),
DEFINE_NATIVE("java/lang/VMSystem", "arraycopy",
&native_vmsystem_arraycopy),
DEFINE_NATIVE("java/lang/VMSystem", "identityHashCode",
&native_vmsystem_identityhashcode),
DEFINE_NATIVE("java/lang/VMThrowable", "fillInStackTrace",
&native_vmthrowable_fill_in_stack_trace),
--
1.6.0.6
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Jatovm-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jatovm-devel