From: Arnaud Giersch Date: Mon, 12 Feb 2018 22:36:06 +0000 (+0100) Subject: Kill unused function get_java_VM(). X-Git-Tag: v3.19~230 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/044232d4a90c59182da21f98f1dbd141814a68fa?hp=a9113d6f217e32068b356fa249923e0c9be5a5b7 Kill unused function get_java_VM(). --- diff --git a/src/bindings/java/jmsg.cpp b/src/bindings/java/jmsg.cpp index 78b7dfe590..0a9bc6d11a 100644 --- a/src/bindings/java/jmsg.cpp +++ b/src/bindings/java/jmsg.cpp @@ -48,11 +48,6 @@ XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(java); JavaVM *__java_vm = nullptr; -JavaVM *get_java_VM() -{ - return __java_vm; -} - JNIEnv *get_current_thread_env() { using simgrid::kernel::context::JavaContext; diff --git a/src/bindings/java/jmsg.hpp b/src/bindings/java/jmsg.hpp index e6107351e5..c76fb1106b 100644 --- a/src/bindings/java/jmsg.hpp +++ b/src/bindings/java/jmsg.hpp @@ -1,6 +1,6 @@ /* Java Wrappers to the MSG API. */ -/* Copyright (c) 2007-2017. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2007-2018. 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. */ @@ -25,7 +25,6 @@ extern "C" { extern int JAVA_HOST_LEVEL; static std::unordered_map java_storage_map; -JavaVM* get_java_VM(); JNIEnv* get_current_thread_env(); /** * This function throws the correct exception according to the status provided.