converter vetor para jobject em C ++ / JNI?
Estou usando a função nativa Java -
public native ArrayList<String> parseXML();
Em C ++, minha função nativa -
vector<string> resultList;
JNIEXPORT jobject JNICALL Java_Sample1_parseXML
(JNIEnv *env, jobject obj){
// logic
return resultList; // here getting error
}
Meu problema é saber como converter resultList (tipo de vetor) em tipo de objeto de trabalh