提交 1227cde2 编写于 作者: R rriggs

8201246: Export native function to set platform encoding

Reviewed-by: rriggs
Contributed-by: andrew_m_leonard@uk.ibm.com
上级 33fb162a
......@@ -774,8 +774,10 @@ newStringUTF8(JNIEnv *env, const char *str)
return newSizedStringJava(env, str, len);
}
/* Initialize the fast encoding from the encoding name. */
void
/* Initialize the fast encoding from the encoding name.
* Export InitializeEncoding so that the VM can initialize it if required.
*/
JNIEXPORT void
InitializeEncoding(JNIEnv *env, const char *encname)
{
jclass strClazz = NULL;
......
......@@ -388,7 +388,7 @@ enum {
int getFastEncoding();
void InitializeEncoding(JNIEnv *env, const char *name);
JNIEXPORT void InitializeEncoding(JNIEnv *env, const char *name);
void* getProcessHandle();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册