aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar DaveInAus <DaveInAus@users.noreply.github.com>2015-08-24 17:17:36 +1000
committerGravatar DaveInAus <DaveInAus@users.noreply.github.com>2015-08-24 17:17:36 +1000
commit856628553002ba516faea1079b198d49d29fe367 (patch)
tree0f701653f30b12ac2921da06514c21953ece89aa /src
parent2fce993da66456975397e264ce4adad166204c0e (diff)
Include List Converter in javaToMCObject
Converter for Java List not included in javaToMCObject. All Java List Parameters in methods will crash as the converter is not found.
Diffstat (limited to 'src')
-rw-r--r--src/java/TypesUtils.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/java/TypesUtils.cpp b/src/java/TypesUtils.cpp
index 503a6449..4fe57e26 100644
--- a/src/java/TypesUtils.cpp
+++ b/src/java/TypesUtils.cpp
@@ -437,6 +437,9 @@ Object * mailcore::javaToMCObject(JNIEnv * env, jobject obj)
else if (isJavaMap(env, obj)) {
return arrayJavaToObjectConverter(env, obj);
}
+ else if (isJavaList(env, obj)) {
+ return arrayJavaToObjectConverter(env, obj);
+ }
else {
Object * result = NULL;