summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2022-05-05 09:01:39 +0200
committerSven Gothel <[email protected]>2022-05-05 09:01:39 +0200
commit9f8fe05537e184391117b7604fcdaa722ac98374 (patch)
tree0e04774c3abe04130d3ebb4139805285e29d4213
parent3b624115b3ece7a0b139de087e4f4c7705168047 (diff)
JNIGlobalRef::dtor: Use C++ qualified names in error message
-rw-r--r--java_jni/jni/jni_mem.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/java_jni/jni/jni_mem.cxx b/java_jni/jni/jni_mem.cxx
index 315725b..dbbc38c 100644
--- a/java_jni/jni/jni_mem.cxx
+++ b/java_jni/jni/jni_mem.cxx
@@ -177,7 +177,7 @@ JNIGlobalRef::~JNIGlobalRef() noexcept {
try {
JNIEnv * env = *jni_env;
if( nullptr == env ) {
- ABORT("JNIGlobalRef dtor null JNIEnv");
+ ABORT("JNIGlobalRef::dtor null JNIEnv");
}
std::unique_lock<std::mutex> lock(mtx);
DBG_JNI_PRINT("JNIGlobalRef::dtor %p", object);
@@ -192,7 +192,7 @@ JNIGlobalRef::~JNIGlobalRef() noexcept {
object = nullptr;
}
} catch (std::exception &e) {
- fprintf(stderr, "JNIGlobalRef dtor: Caught %s\n", e.what());
+ fprintf(stderr, "JNIGlobalRef::dtor: Caught %s\n", e.what());
}
}