/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
-#include <xbt/ex.hpp>
+#include "simgrid/exception.hpp"
#include "jmsg_process.h"
jobject jprocess_from_native(msg_process_t process)
{
- simgrid::kernel::context::JavaContext* context = (simgrid::kernel::context::JavaContext*)process->get_impl()->context;
+ simgrid::kernel::context::JavaContext* context =
+ (simgrid::kernel::context::JavaContext*)process->get_impl()->context_;
return context->jprocess;
}