Signed-off-by: Tomek Grabiec <[email protected]>
---
vm/stack-trace.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/vm/stack-trace.c b/vm/stack-trace.c
index 1fe185d..11fc9a7 100644
--- a/vm/stack-trace.c
+++ b/vm/stack-trace.c
@@ -455,6 +455,9 @@ void print_java_stack_trace_elem(struct stack_trace_elem
*elem)
}
int line_no = bytecode_offset_to_line_no(vmm, bc_offset);
+ if (line_no == -1)
+ goto out;
+
printf(":%d", line_no);
out:
--
1.6.0.6
------------------------------------------------------------------------------
_______________________________________________
Jatovm-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jatovm-devel