Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Sometimes propagating an exception across different libraries fails.
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Sun, 13 Mar 2022 21:20:50 +0000 (22:20 +0100)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Sun, 13 Mar 2022 21:23:08 +0000 (22:23 +0100)
I don't know if this is the case here, but take a safe bet.

src/bindings/java/JavaContext.cpp

index 58933cf..b64a548 100644 (file)
@@ -80,7 +80,7 @@ void JavaContext::stop()
     XBT_DEBUG("Cannot detach the current thread");
   }
 
-  throw ForcefulKillException(); // clean RAII variables with the dedicated exception
+  simgrid::ForcefulKillException::do_throw(); // clean RAII variables with the dedicated exception
 }
 
 }}} // namespace simgrid::kernel::context