Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Kill unused function get_java_VM().
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Mon, 12 Feb 2018 22:36:06 +0000 (23:36 +0100)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Tue, 13 Feb 2018 10:18:01 +0000 (11:18 +0100)
src/bindings/java/jmsg.cpp
src/bindings/java/jmsg.hpp

index 78b7dfe..0a9bc6d 100644 (file)
@@ -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;
index e610735..c76fb11 100644 (file)
@@ -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<msg_storage_t, jobject> java_storage_map;
 
-JavaVM* get_java_VM();
 JNIEnv* get_current_thread_env();
 /**
  * This function throws the correct exception according to the status provided.