2009/7/3 Tomek Grabiec <tgrab...@gmail.com>:
>
> Signed-off-by: Tomek Grabiec <tgrab...@gmail.com>
> ---
>  vm/jato.c |    4 ++++
>  1 files changed, 4 insertions(+), 0 deletions(-)
>
> diff --git a/vm/jato.c b/vm/jato.c
> index 739093f..5652d50 100644
> --- a/vm/jato.c
> +++ b/vm/jato.c
> @@ -78,6 +78,10 @@ static void __vm_native 
> native_vmsystemproperties_preinit(struct vm_object *p)
>                = 
> vm_method_trampoline_ptr(vm_java_util_Properties_setProperty);
>
>        trampoline(p, key, value);
> +
> +       key = vm_object_alloc_string_from_c("java.io.tmpdir");
> +       value = vm_object_alloc_string_from_c("/tmp");
> +       trampoline(p, key, value);
>  }

Note (mostly to self): I would like to see this implemented with a
table instead. Will try to fix that once I've run out of other things
to do ;-) [Not that it should be very difficult or anything...]


Vegard

------------------------------------------------------------------------------
_______________________________________________
Jatovm-devel mailing list
Jatovm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jatovm-devel

Reply via email to