aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2020-09-30 15:57:37 +0200
committerSven Gothel <[email protected]>2020-09-30 15:57:37 +0200
commit05bcd6a1743d7b218f16e4ea3b7926a0d1ebe222 (patch)
treeb29cdfd8de8d2668ddb7fbdc132a0177dab969b5 /java
parent89ec109ebc543d29f3073e4efae87b541b33539e (diff)
JNI helper_base.cxx: Fix ArrayList class name, drop decorating 'L' and ';'
Diffstat (limited to 'java')
-rw-r--r--java/jni/helper_base.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/jni/helper_base.cxx b/java/jni/helper_base.cxx
index 344a722f..d30ba9f0 100644
--- a/java/jni/helper_base.cxx
+++ b/java/jni/helper_base.cxx
@@ -167,7 +167,7 @@ jobject get_bluetooth_type(JNIEnv *env, const char *field_name)
jobject get_new_arraylist(JNIEnv *env, unsigned int size, jmethodID *add)
{
- jclass arraylist_class = search_class(env, "Ljava/util/ArrayList;");
+ jclass arraylist_class = search_class(env, "java/util/ArrayList");
jmethodID arraylist_ctor = search_method(env, arraylist_class, "<init>", "(I)V", false);
jobject result = env->NewObject(arraylist_class, arraylist_ctor, size);