X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/5e1b4fa835cedc144a2ebe97fda0d139d63d3058..acac7aa68c0c8fb3a534e04fecf11f6e143678c5:/src/bindings/java/JavaContext.cpp?ds=sidebyside diff --git a/src/bindings/java/JavaContext.cpp b/src/bindings/java/JavaContext.cpp index 6298d26cf5..ba70dde478 100644 --- a/src/bindings/java/JavaContext.cpp +++ b/src/bindings/java/JavaContext.cpp @@ -1,7 +1,6 @@ -/* context_java - implementation of context switching for java threads */ +/* Context switching within the JVM. */ -/* Copyright (c) 2009-2010, 2012-2014. The SimGrid Team. - * All rights reserved. */ +/* Copyright (c) 2009-2017. The SimGrid Team. All rights reserved. */ /* 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. */ @@ -12,13 +11,9 @@ #include "JavaContext.hpp" #include "jxbt_utilities.h" #include "src/simix/smx_private.h" -#include "xbt/dynar.h" -#include -#include -#include -#include +#include "xbt/ex.hpp" -extern JavaVM *__java_vm; +extern "C" JavaVM* __java_vm; XBT_LOG_NEW_DEFAULT_CATEGORY(jmsg, "MSG for Java(TM)");