is const jchar * null terminated string in c++?
843829Sep 13 2010 — edited Sep 13 2010hi,
i read through the complete JNI documentation.
i searched all possible srcs to know "is const jchar * string returned by method GetStringChars(JString,NULL) to c++ declared in jni.h is NULL terminated or not ?" but i couldn't find it.
please help me.
because i am using this const jchar * string directly in my c++ code by just casting it to (const WCHAR *)
sometimes it is crashing the jvm for no reason sorry! i dont know the reason.