From 044232d4a90c59182da21f98f1dbd141814a68fa Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Mon, 12 Feb 2018 23:36:06 +0100 Subject: [PATCH] Kill unused function get_java_VM(). --- src/bindings/java/jmsg.cpp | 5 ----- src/bindings/java/jmsg.hpp | 3 +-- 2 files changed, 1 insertion(+), 7 deletions(-) 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. -- 2.20.1