Signed-off-by: Vegard Nossum <[email protected]>
---
vm/jato.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/vm/jato.c b/vm/jato.c
index 068473e..8412975 100644
--- a/vm/jato.c
+++ b/vm/jato.c
@@ -670,7 +670,7 @@ main(int argc, char *argv[])
if (vm_class_ensure_init(vmc)) {
fprintf(stderr, "error: %s: couldn't initialize\n", classname);
- goto out;
+ goto out_check_exception;
}
struct vm_method *vmm = vm_class_get_method_recursive(vmc,
@@ -692,6 +692,7 @@ main(int argc, char *argv[])
= vm_method_trampoline_ptr(vmm);
main_method_trampoline();
+out_check_exception:
if (exception_occurred()) {
struct vm_object *exception;
--
1.6.0.4
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Jatovm-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jatovm-devel