Hi,
I have a java class with a native method implemented in C++.
This method uses fstream. I got a Segmentation Fault when the destructor
of the fstream is called.
Is it a bug in JNI ? Am I missing something ?
#include
JNIEXPORT
jboolean
JNICALL
Java_MyClass_write(JNIEnv * env, jobject obj)
Hi,
I have a java class with a native method implemented in C++.
This method uses fstream. I got a Segmentation Fault when the destructor
of the fstream is called.
Is it a bug in JNI ? Am i missing something ?
#include
JNIEXPORT
jboolean
JNICALL
Java_MyClass_write(JNIEnv * env, jobject obj)
{