From: Adrien Lebre Date: Mon, 28 Jul 2014 08:54:05 +0000 (+0200) Subject: Rollback - the java code should make a THROWF call - adrien X-Git-Tag: v3_12~891 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/b67f99d2787aa360886850db3386fd07a7dae422?hp=a0e1d29f2cd994630c1ab76b90abd2eed8372997 Rollback - the java code should make a THROWF call - adrien --- diff --git a/src/bindings/java/smx_context_java.c b/src/bindings/java/smx_context_java.c index 2e94604ff6..bb36804faa 100644 --- a/src/bindings/java/smx_context_java.c +++ b/src/bindings/java/smx_context_java.c @@ -157,7 +157,7 @@ void smx_ctx_java_stop(smx_context_t context) jxbt_throw_by_name(env, "org/simgrid/msg/ProcessKilledError", xbt_strdup("Process killed :)")); // TODO emptty/adsein, comment the following line. This avoid to raise process cancelled exception at the Java level but // it impacts the shutdown of VMs :( see java-cloud example - //THROWF(cancel_error, 0, "process cancelled"); + THROWF(cancel_error, 0, "process cancelled"); } else { smx_ctx_base_stop(context); /* detach the thread and kills it */