Signed-off-by: Tomek Grabiec <[email protected]>
---
vm/call.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/vm/call.c b/vm/call.c
index 718917e..6041494 100644
--- a/vm/call.c
+++ b/vm/call.c
@@ -48,9 +48,9 @@ vm_call_method_a(struct vm_method *method, unsigned long
*args)
/*
* XXX: We cannot call JIT code with exception signalled
- * because it will be catched by the nearest exception
+ * because it will be caught by the nearest exception
* test. We must save pending exception and restore it upon
- * return unless new exception is signalled.
+ * return unless called method signalled exception itself.
*/
exception = exception_occurred();
clear_exception();
--
1.6.0.6
------------------------------------------------------------------------------
_______________________________________________
Jatovm-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jatovm-devel